Help us shape the future of Go! Take the 2026 Go Developer Survey

version

package
v1.65.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version holds the application's build-time version metadata.

It is intentionally a leaf package (no internal imports) so that both commands (cmd/version, cmd/doctor, cmd/root) and shared services (internal/telemetry) can read build info without layering inversions. The values are populated at build time via ldflags:

go build -ldflags="-X github.com/eng618/eng/internal/version.Version=…"

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version holds the application's version string (e.g., "0.1.0" or "dev").
	Version = "dev"
	// Commit holds the Git commit hash from which the application was built.
	Commit = "none"
	// Date holds the build date of the application.
	Date = "unknown"
)

Build-time variables populated via ldflags (see .goreleaser.yaml and Taskfile.yaml).

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