version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 1 Imported by: 0

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.

func String

func String() string

String returns a human-readable version, appending the VCS revision when the binary was built from a git checkout and no explicit version was set.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL