Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Release version of the service. Bump it up during new version release Release = "1.0.6" // Commit hash provided during build Commit = "Unknown" // BuildTime provided during build BuildTime = "Unknown" // GO provides golang version GO = runtime.Version() // Compiler info Compiler = runtime.Compiler // OS Info OS = runtime.GOOS // Arch info Arch = runtime.GOARCH )
Functions ¶
Types ¶
type Model ¶
type Model struct { Release string `xml:"release" json:"release"` Commit string `xml:"commit" json:"commit"` BuildTime string `xml:"build_time" json:"build_time"` GO string `xml:"golang" json:"golang"` Compiler string `xml:"compiler" json:"compiler"` OS string `xml:"os" json:"os"` Arch string `xml:"architecture" json:"architecture"` }
Model struct holds version information about the binary build
Click to show internal directories.
Click to hide internal directories.