package
Version:
v0.0.0-...-ccac432
Opens a new window with list of versions in this module.
Published: Jul 25, 2025
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
¶
View Source
var (
Version = "dev"
GitCommit = "none"
BuildDate = "unknown"
)
GetFull returns the full version information as a string
GetShort returns a short version string using the package variables
GetVersion returns just the version string
type Info struct {
Version string `json:"version"`
GitCommit string `json:"gitCommit"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Info contains version information
Get returns version information
Short returns a short version string
String returns a human-readable version string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.