Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArch ¶
func GetArch() string
GetArch returns the CPU architecture of target binary recorded at build time.
func GetBranch ¶
func GetBranch() string
GetBranch returns the Git branch name used during the build.
func GetFullCommit ¶
func GetFullCommit() string
GetFullCommit returns the full Git commit SHA from which the binary was built.
func GetOS ¶
func GetOS() string
GetOS returns the operating system of target binary recorded at build time.
func GetShortCommit ¶
func GetShortCommit() string
GetShortCommit returns the abbreviated Git Commit SHA from which the binary was built.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.