version

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

These variables are set at build time via ldflags. When ldflags are missing (e.g., release pipeline drops them, or a contributor builds from source without the Makefile), init() enriches them from the Go binary's embedded VCS info (debug.ReadBuildInfo), so --version always gives meaningful output.

Functions

func Info

func Info() string

Info returns a formatted version string suitable for --version output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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