Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GAPIVersion = "dev" GoDDKVersion = "dev" PythonDDKVersion = "dev" BuildTag = "dev" SchemaHash = "unknown" Commit = "unknown" Date = "unknown" BuiltBy = "unknown" )
Injected at build time via -ldflags
Functions ¶
func BinaryVersion ¶
func BinaryVersion() string
BinaryVersion returns the registered version string for the current binary.
func SetBinaryNameAndVersion ¶
func SetBinaryNameAndVersion(name, version string)
SetBinaryNameAndVersion lets a binary like gapictl override the top-level label
func SetBuildMetadata ¶
func SetBuildMetadata(overrides Info)
SetBuildMetadata lets downstream components override specific build details
Types ¶
Click to show internal directories.
Click to hide internal directories.