buildinfo

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package buildinfo holds the resolved binary version as a leaf value any package may read without importing cmd/canary or cobra. It has no imports of its own so nothing that depends on it can create an import cycle.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set by cmd/canary/main at startup (from ldflags, or the module version stamped into the binary's build info for a plain `go install` build). It stays "dev" for any code path -- notably tests -- that never calls through main's init.

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