apiary/version.go

15 lines
185 B
Go

package apiary
import "fmt"
var Version = "v0.1.1"
var Build string
func FullVersion() string {
if Build != "" {
return fmt.Sprintf("%s-%s", Version, Build)
}
return Version
}