PT-2165 actual version, go version, and build for go tools (#603)

* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Removed outdated numbers from main.go, because we update these numbers in the Makefile.

* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Added template version into Makefile for the latest tag.
This commit is contained in:
Sveta Smirnova
2023-02-27 01:19:26 +03:00
committed by GitHub
parent bfc00b93a8
commit 46a466efcc
8 changed files with 33 additions and 25 deletions

View File

@@ -55,10 +55,11 @@ const (
//nolint:gochecknoglobals
var (
Build string = "2020-04-23"
GoVersion string = "1.14.1"
Version string = "3.5.1"
Commit string
// We do not set anything here, these variables are defined by the Makefile
Build string //nolint
GoVersion string //nolint
Version string //nolint
Commit string //nolint
defaultConnectionTimeout = 3 * time.Second
directConnection = true