package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jul 17, 2022
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Short returns the semantic version of the application
type BuildInfo struct {
Version string `json:"version,omitempty"`
GitBranch string `json:"gitBranch,omitempty"`
GitCommit string `json:"gitCommit,omitempty"`
BuildDate string `json:"buildDate,omitempty"`
Go GoDetails `json:"go,omitempty"`
}
BuildInfo contains build time information about the application
Long returns the build time version information of the application
type GoDetails struct {
Version string `json:"version,omitempty"`
OS string `json:"os,omitempty"`
Arch string `json:"arch,omitempty"`
}
GoDetails contains Go compile time information
Source Files
¶
Click to show internal directories.
Click to hide internal directories.