Skip to content

Commit

Permalink
update build info with newer golang
Browse files Browse the repository at this point in the history
  • Loading branch information
andyxning authored and shuLhan committed Sep 9, 2017
1 parent 7e5ef26 commit fb998d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go-bindata/version.go
Expand Up @@ -18,7 +18,8 @@ const (
// revision part of the program version.
// This will be set automatically at build time like so:
//
// go build -ldflags "-X main.AppVersionRev `date -u +%s`"
// go build -ldflags "-X main.AppVersionRev `date -u +%s`" (go version < 1.5)
// go build -ldflags "-X main.AppVersionRev=`date -u +%s`" (go version >= 1.5)
var AppVersionRev string

func Version() string {
Expand Down

0 comments on commit fb998d9

Please sign in to comment.