mirror of
https://github.com/hanzoai/pki.git
synced 2026-11-03 18:08:14 +00:00
25 lines
360 B
Go
25 lines
360 B
Go
package version
|
|
|
|
// GENERATED FILE DO NOT CHECK IN TO GIT!
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
var currentVersion = Info{
|
|
Major: 0,
|
|
Minor: 0,
|
|
Commit: 0,
|
|
Runtime: runtime.Version(),
|
|
Build: "v0.2.76",
|
|
}
|
|
|
|
func init() {
|
|
currentVersion.PopulateFromBuild()
|
|
}
|
|
|
|
// Current returns the current version [set by the build]
|
|
func Current() Info {
|
|
return currentVersion
|
|
}
|