version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppVersion contains the current version in SemVer format.
	AppVersion string //nolint:gochecknoglobals  // only used on main for usage

	// Branch is the name of the branch referenced by HEAD.
	Branch string //nolint:gochecknoglobals  // only used on main for usage

	// BuildTime is the compiled build time.
	BuildTime string //nolint:gochecknoglobals  // only used on main for usage

	// Commit contains the hash of the latest commit on Branch.
	Commit string //nolint:gochecknoglobals  // only used on main for usage

	// GoVersion contains the the version of the go that performed the build.
	GoVersion string //nolint:gochecknoglobals  // only used on main for usage
)

Functions

func GetVersion

func GetVersion() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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