1
0
mirror of https://github.com/mayflower/docker-ls.git synced 2025-11-28 00:01:09 +03:00
Files
docker-ls/lib/version.go
Christian Speckner 8f35d75032 Versioning.
2016-02-18 10:18:37 +01:00

15 lines
283 B
Go

package lib
var staticVersion string = "not available"
var dynamicVersion *string
func Version() string {
if dynamicVersion != nil {
return *dynamicVersion
} else {
return staticVersion
}
}
//go:generate go run ../generators/version.go -out dynamic_version.go -package lib