There was an error while loading. Please reload this page.
1 parent 848d7ef commit c795cbfCopy full SHA for c795cbf
cmd/postgres_exporter/postgres_exporter.go
@@ -27,12 +27,16 @@ import (
27
"gopkg.in/yaml.v2"
28
)
29
30
-// Version and other info is set during build to the git describe version
31
-// (semantic version)-(commitish) form.
+// Branch is set during build to the git branch.
32
var Branch string
+// BuildDate is set during build to the ISO-8601 date and time.
33
var BuildDate string
34
+// Revision is set during build to the git commit revision.
35
var Revision string
36
+// Version is set during build to the git describe version
37
+// (semantic version)-(commitish) form.
38
var Version = "0.0.1-rev"
39
+// VersionShort is set during build to the semantic version.
40
var VersionShort = "0.0.1"
41
42
var (
0 commit comments