Documentation
¶
Overview ¶
Package version holds build version metadata for the agent binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.0-dev"
Version is the semantic version. Override at build time with:
go build -ldflags "-X github.com/ionalpha/flynn/internal/version.Version=v0.1.0" ./cmd/flynn
Functions ¶
func IsDev ¶
func IsDev() bool
IsDev reports whether this is an unstamped development build (no release version linked in). A dev build keeps its durable state apart from a release build's, so an in-progress schema change on a branch never touches a real installation. A build installed with `go install ...@<version>` is a real release, not a dev build.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.