version

package
v0.0.0-...-72af66c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 0

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

func VersionString(binaryName string) string

VersionString returns the unified version string for the given binary name.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL