Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersionYaml ¶
GetVersionYaml returns the version info in YAML format
Types ¶
type VersionInfo ¶
type VersionInfo struct { // Version is the current semver. Version string `yaml:"version,omitempty"` // GitCommit is the git sha1. GitCommit string `yaml:"gitCommit,omitempty"` // GitTreeState is the state of the git tree. GitTreeState string `yaml:"gitTreeState,omitempty"` // GoVersion is the version of the Go compiler used. GoVersion string `yaml:"goVersion,omitempty"` // Platform gives the OS and ISA the app is running on Platform string `yaml:"platform,omitempty"` }
VersionInfo describes the compile time information.
Click to show internal directories.
Click to hide internal directories.