Documentation ¶
Index ¶
Constants ¶
View Source
const ShortVersionBanner = `` /* 173-byte string literal not displayed */
ShortVersionBanner ...
Variables ¶
View Source
var ( // VersionString ... VersionString = "?" // RevisionString ... RevisionString = "?" // RevisionURLString ... RevisionURLString = "?" // GeneratedString ... GeneratedString = "?" // DevelopersString ... DevelopersString = "?" // BuildNumString ... BuildNumString = "?" // DockerImageString ... DockerImageString = "?" // GoVersion ... GoVersion = runtime.Version() )
Functions ¶
Types ¶
type Version ¶ added in v0.17.0
type Version struct { VersionString string `json:"version_string"` RevisionString string `json:"revision_string"` RevisionURLString string `json:"revision_url_string"` GeneratedString string `json:"generated_string"` DevelopersString string `json:"developers_string"` BuildNumString string `json:"build_num_string"` DockerImageString string `json:"docker_image_string"` GoVersion string `json:"go_version"` }
func GetVersion ¶ added in v0.17.0
func GetVersion() Version
Click to show internal directories.
Click to hide internal directories.