treasurer/version/version.go

22 lines
297 B
Go
Raw Normal View History

2023-05-16 16:21:56 +00:00
package version
var (
BuildTime = "unset"
Commit = "unset"
Release = "unset"
)
type InfoVersion struct {
BuildTime string
Commit string
Release string
}
func GetVersion() InfoVersion {
return InfoVersion{
BuildTime: BuildTime,
Commit: Commit,
Release: Release,
}
}