version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the current version, injected at build time.
	Version = "dev"

	// GitCommit is the git commit hash, injected at build time.
	GitCommit = "unknown"

	// BuildDate is the build date, injected at build time.
	BuildDate = "unknown"
)

Functions

func GetBuildDate

func GetBuildDate() string

GetBuildDate returns the build date.

func GetFullVersion

func GetFullVersion() string

GetFullVersion returns version with commit and date.

func GetGitCommit

func GetGitCommit() string

GetGitCommit returns the git commit hash.

func GetVersion

func GetVersion() string

GetVersion returns the current version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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