Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" BuildTime = "unknown" )
These variables are set during build using ldflags
Functions ¶
func GetShortVersion ¶
func GetShortVersion() string
GetShortVersion returns a short version string suitable for command line usage
func GetVersionInfo ¶
func GetVersionInfo() map[string]interface{}
GetVersionInfo returns detailed version information
func GetVersionString ¶
func GetVersionString() string
GetVersionString returns a formatted version string
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true if this is a development build
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.