Documentation
¶
Overview ¶
Package version provides version information
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic release version, injected at build time via ldflags. // Falls back to "0.0.0-dev" when not set (e.g. local development builds). Version = "0.0.0-dev" // Commit is the full git commit SHA, injected at build time via ldflags. Commit = "unknown" // BuildTime is the UTC ISO 8601 build timestamp, injected at build time via ldflags. BuildTime = "unknown" Package = "github.com/tencentcloud/CubeSandbox/CubeMaster" Revision = "v1" GoVersion = runtime.Version() )
Functions ¶
func ShowAndExit ¶
func ShowAndExit(show bool)
func ShowVersion ¶
func ShowVersion() string
func VersionString ¶
VersionString returns the unified version string for the given binary name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.