We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5ef26 commit fb998d9Copy full SHA for fb998d9
go-bindata/version.go
@@ -18,7 +18,8 @@ const (
18
// revision part of the program version.
19
// This will be set automatically at build time like so:
20
//
21
-// go build -ldflags "-X main.AppVersionRev `date -u +%s`"
+// go build -ldflags "-X main.AppVersionRev `date -u +%s`" (go version < 1.5)
22
+// go build -ldflags "-X main.AppVersionRev=`date -u +%s`" (go version >= 1.5)
23
var AppVersionRev string
24
25
func Version() string {
0 commit comments