package
Version:
v1.5.0-alpha.1
Opens a new window with list of versions in this module.
Published: May 17, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handles exposing and determining application version details
type Version struct {
Version string `json:"version"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Return version object (created or not during build)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.