Documentation
¶
Overview ¶
Package version contains code to return the running version
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "unset" GitBranch = "unset" GitHash = "unset" BuildTime = "unset" )
Version ... These variables are populated at build time in the Makefile
Functions ¶
func ShortString ¶
func ShortString() string
ShortString wil return the version info as a short string instead of a sugared logger. In format of "{Version} {GitHash} {GitBranch} ({BuildTime})"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.