Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
func NewBuildInfo ¶
func NewBuildInfo() *BuildInfo
func (*BuildInfo) GetStringSetting ¶
func (b *BuildInfo) GetStringSetting(key BuildInfoSetting) (string, bool)
type BuildInfoSetting ¶
type BuildInfoSetting string
const ( // name of the version control system BuildInfoVersionControl BuildInfoSetting = "vcs" // commit id BuildInfoRevision BuildInfoSetting = "vcs.revision" // commit time BuildInfoTime BuildInfoSetting = "vcs.time" )
Click to show internal directories.
Click to hide internal directories.