Include go version into builds

This commit is contained in:
Dan Sosedoff
2019-11-29 13:59:50 -06:00
parent a21ff40588
commit 8b1f234b91
3 changed files with 17 additions and 7 deletions

View File

@@ -1,10 +1,17 @@
package command
const (
// Version is the current Pgweb application version
Version = "0.11.4"
)
var (
// GitCommit contains the Git commit SHA for the binary
GitCommit string
// BuildTime contains the binary build time
BuildTime string
// GoVersion contains the Go runtime version
GoVersion string
)