Skip to content

Commit c795cbf

Browse files
committed
Fix go linter issues.
1 parent 848d7ef commit c795cbf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmd/postgres_exporter/postgres_exporter.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ import (
2727
"gopkg.in/yaml.v2"
2828
)
2929

30-
// Version and other info is set during build to the git describe version
31-
// (semantic version)-(commitish) form.
30+
// Branch is set during build to the git branch.
3231
var Branch string
32+
// BuildDate is set during build to the ISO-8601 date and time.
3333
var BuildDate string
34+
// Revision is set during build to the git commit revision.
3435
var Revision string
36+
// Version is set during build to the git describe version
37+
// (semantic version)-(commitish) form.
3538
var Version = "0.0.1-rev"
39+
// VersionShort is set during build to the semantic version.
3640
var VersionShort = "0.0.1"
3741

3842
var (

0 commit comments

Comments
 (0)