Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Get = func() *Info { return &Info{ Version: version, ConfigVersion: latest.Version, GitCommit: gitCommit, GitTreeState: gitTreeState, BuildDate: buildDate, GoVersion: runtime.Version(), Compiler: runtime.Compiler, Platform: platform, } }
Get returns the version and buildtime information about the binary. Can be overridden for tests.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.