Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "v0.1.0" GitRev = "undefined" GitBranch = "undefined" BuildDate = "Fri, 17 Jun 1988 01:58:00 +0200" )
Populated during build, don't touch!
Functions ¶
func PrintVersion ¶
PrintVersion prints version info into the provided io.Writer.
Types ¶
type FullVersion ¶
type FullVersion struct { Version string GitRev string GitBranch string BuildDate string GoVersion string OS string Arch string }
func GetVersion ¶
func GetVersion() FullVersion
func (FullVersion) String ¶
func (f FullVersion) String() string
Click to show internal directories.
Click to hide internal directories.