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

version

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package version carries build-time-injected identity strings. The vars below are overridden at link time via -ldflags -X (see LDFLAGS_COMMON in the Makefile); their defaults are what `go run` / `go test` will see.

Index

Constants

This section is empty.

Variables

View Source
var BuildDate = "unknown"

BuildDate is the ISO-8601 UTC timestamp of the build.

View Source
var FullVersion string

FullVersion is the human-readable summary CLIs emit on --version.

View Source
var GitCommit = "unknown"

GitCommit is `git describe --dirty` output for the built commit.

View Source
var Version = "dev"

Version is the release identifier (e.g. `v0.1.0-3-gabc123`). Defaults to `dev` under `go run` / `go test`.

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