Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Build-time arguments are used to populate these variables to generate build-specific version information.
Functions ¶
This section is empty.
Types ¶
type LatestVersion ¶
LatestVersion contains information about the latest version of the project and the current version of the project.
type VersionInfo ¶
type VersionInfo struct { Version string Commit string Tag string GoVersion string BuildDate string Compiler string OS string Arch string }
VersionInfo contains runtime and build time information about the application.
func NewVersionInfo ¶
func NewVersionInfo() VersionInfo
NewVersionInfo creates a struct which holds all of the runtime and build-time supplied variables describing the version and build state for the application.
Click to show internal directories.
Click to hide internal directories.