version

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version of this binary.
	// It can be overridden at build time via -ldflags -X.
	Version = "dev"
	// Commit is the git commit hash used to build this binary.
	// It can be overridden at build time via -ldflags -X.
	Commit = "none"
	// BuildTime is the UTC build timestamp for this binary.
	// It can be overridden at build time via -ldflags -X.
	BuildTime = "unknown"
)

Functions

func String

func String() string

Types

type Info

type Info struct {
	Version   string
	Commit    string
	BuildTime string
	GoVersion string
}

func Get

func Get() Info

Jump to

Keyboard shortcuts

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