sq/cli/buildinfo/buildinfo.go

19 lines
482 B
Go
Raw Normal View History

2020-08-06 20:58:47 +03:00
// Package buildinfo hosts build info variables populated via ldflags.
package buildinfo
// DefaultVersion is the default value for Version if not
// set via ldflags.
const DefaultVersion = "v0.0.0-dev"
2020-08-06 20:58:47 +03:00
var (
// Version is the build version. If not set at build time via
// ldflags, Version takes the value of DefaultVersion.
Version = DefaultVersion
2020-08-06 20:58:47 +03:00
// Commit is the commit hash.
Commit string
// Timestamp is the timestamp of when the cli was built.
Timestamp string
)