mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-19 14:11:45 +03:00
19 lines
482 B
Go
19 lines
482 B
Go
// 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"
|
|
|
|
var (
|
|
// Version is the build version. If not set at build time via
|
|
// ldflags, Version takes the value of DefaultVersion.
|
|
Version = DefaultVersion
|
|
|
|
// Commit is the commit hash.
|
|
Commit string
|
|
|
|
// Timestamp is the timestamp of when the cli was built.
|
|
Timestamp string
|
|
)
|