Skip to content

Commit fb998d9

Browse files
andyxningshuLhan
authored andcommitted
update build info with newer golang
1 parent 7e5ef26 commit fb998d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

go-bindata/version.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const (
1818
// revision part of the program version.
1919
// This will be set automatically at build time like so:
2020
//
21-
// go build -ldflags "-X main.AppVersionRev `date -u +%s`"
21+
// 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)
2223
var AppVersionRev string
2324

2425
func Version() string {

0 commit comments

Comments
 (0)