22 lines
294 B
Go
22 lines
294 B
Go
package version
|
|
|
|
var (
|
|
BuiltAt string
|
|
GoVersion string
|
|
GitCommit string
|
|
Version string = "dev"
|
|
)
|
|
|
|
func GetBuiltAt() string {
|
|
return BuiltAt
|
|
}
|
|
func GetGoVersion() string {
|
|
return GoVersion
|
|
}
|
|
func GetGitCommit() string {
|
|
return GitCommit
|
|
}
|
|
func GetVersion() string {
|
|
return Version
|
|
}
|