Documentation
¶
Overview ¶
Package buildvars exposes linker-injected build metadata for the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitBranch ¶
func CommitBranch() string
CommitBranch returns the linker-injected source branch name.
func CommitDate ¶
func CommitDate() string
CommitDate returns the linker-injected source commit timestamp.
func CommitHash ¶
func CommitHash() string
CommitHash returns the linker-injected source commit hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.