buildinfo

package
v0.14.7 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package buildinfo is INTERNAL-ONLY — version, commit, date, and Go version injection. Pure infrastructure with no operator-facing contract.

Index

Constants

View Source
const Version = "0.14.7"

Version is the single source of truth for the AXIS release string.

Variables

View Source
var (
	Commit    string
	Date      string
	GoVersion string
)

Commit, Date, and GoVersion are set at build time via -ldflags. Example:

go build -ldflags "-X github.com/toasterbook88/axis/internal/buildinfo.Commit=abc1234
                    -X github.com/toasterbook88/axis/internal/buildinfo.Date=2026-04-01T12:00:00Z
                    -X github.com/toasterbook88/axis/internal/buildinfo.GoVersion=go1.26.2"
View Source
var UpdateManagedBy string

UpdateManagedBy specifies if this binary is managed by a package manager (e.g. "nix", "homebrew"). When set, the internal `axis update` command will refuse to overwrite the binary.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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