Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion() string
GetVersion returns the default formatted version string attached to the current bazel build
func Query ¶
func Query(request VersionInfo) (string, error)
Query returns git versioning info attached to the current bazel build
Types ¶
type VersionInfo ¶
type VersionInfo int
VersionInfo ...
const ( StableBuildGitCommit VersionInfo = iota StableBuildScmStatus StableBuildScmRevision StableBuildMajorVersion StableBuildMinorVersion StableDockerTag )
Click to show internal directories.
Click to hide internal directories.