buildinfo

package
v1.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package buildinfo holds global vars set at build time to provide information about the build. This package SHOULD NOT import other packages -- to avoid dependency cycles.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Date is the date the binary was built.
	// Set by go build -ldflags "-X" flag
	Date string

	// SHA is the git commit SHA the binary was built with.
	// Set by go build -ldflags "-X" flag
	SHA string

	// Version is the version the binary was built with.
	// Set by go build -ldflags "-X" flag
	Version string

	// IsOfficialBuild is the flag that gets set to True if it is an official build being released.
	// Set by go build -ldflags "-X" flag
	IsOfficialBuild string
)

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