package
Version:
v1.10.0
Opens a new window with list of versions in this module.
Published: May 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
Version = empty
Branch = empty
Commit = empty
BuildDate = empty
)
Values are provided by compile time -ldflags.
type Info struct {
Version string `json:"version"`
Branch string `json:"branch"`
Commit string `json:"commit"`
BuildDate time.Time `json:"buildTime"`
GoVersion string `json:"goVersion"`
Platform string `json:"platform"`
}
Info contains build information supplied during compile time.
Get returns the build-in version and platform information
Source Files
¶
Click to show internal directories.
Click to hide internal directories.