build

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModificationTime string

ModificationTime is the time, in RFC3339 format, of this binary. This value is automatically set fi the buildInfoFunc function returns the "vcs.time" settings.

View Source
var Modified bool

Modified is true if there are local code modifications when this binary was built. This value is automatically set if the buildInfoFunc function returns the "vcs.modified" setting.

View Source
var Revision string

Revision is the git hash which built this tool. This value is automatically set if the buildInfoFunc function returns the "vcs.revision" setting.

View Source
var Version = "dev"

Version is the build of this tool. The expectation is that this will be set during build time via ldflags or via the BuildInfo if "go install"ed. Supported values: "dev", any semver (with or without a 'v', if no 'v' exists, one will be added). Any invalid version will be replaced with "invalid (BAD_VERSION)".

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