2020-02-12 13:53:27 -05:00
|
|
|
package version
|
|
|
|
|
|
|
|
|
|
var (
|
2022-12-09 13:08:02 -08:00
|
|
|
// GitCommit is the git commit that was compiled. This will be filled in by the compiler.
|
2020-02-12 13:53:27 -05:00
|
|
|
GitCommit string
|
|
|
|
|
GitDescribe string
|
|
|
|
|
|
2022-12-09 13:08:02 -08:00
|
|
|
// CgoEnabled is whether cgo is enabled or not; set at build time
|
2020-02-12 13:53:27 -05:00
|
|
|
CgoEnabled bool
|
|
|
|
|
|
2022-12-09 13:08:02 -08:00
|
|
|
// Version is the base version
|
|
|
|
|
// Default values - set when building locally (at build time)
|
2022-11-29 13:57:20 -08:00
|
|
|
Version = "0.12.0"
|
2020-09-28 17:15:28 +01:00
|
|
|
|
|
|
|
|
// VersionPrerelease is also set at compile time, similarly to Version.
|
|
|
|
|
VersionPrerelease = ""
|
|
|
|
|
|
2022-12-09 13:08:02 -08:00
|
|
|
// VersionMetadata is also set at compile time.
|
2020-09-28 17:15:28 +01:00
|
|
|
VersionMetadata = ""
|
2020-02-12 13:53:27 -05:00
|
|
|
)
|