Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullVersion ¶
func FullVersion() string
FullVersion returns a formatted string with full version details, including the application version, build date, Git commit hash, the Go runtime version, and the operating system and architecture details.
Example output: Clido version dev Build date: unknown Git commit: unknown Go version: go1.16.4 OS/Arch: linux/amd64.
Types ¶
type Info ¶
type Info struct { Version string // The version of the application BuildDate string // The date when the application was built GitCommit string // The Git commit hash corresponding to the build }
Info represents the build information for the application. It includes fields for the version, build date, and Git commit.
Click to show internal directories.
Click to hide internal directories.