Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Version ¶
type Version struct { SemVer string `json:"version"` CommitHash string `json:"commit_hash"` BuildTime string `json:"build_time"` GoVersion string `json:"go_version"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
Version encapsulates version metadata. SemVer - The Semantic Version of the CLI. CommitHash - Output of `git log –pretty=format:"%h" -n 1`. BuildTime - The time that the CLI was built. GoVersion - The Go runtime version. Compiler - The compiler toolchain identifier. Platform - The operating system and architecture compiled.
Click to show internal directories.
Click to hide internal directories.