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

app

package
v0.0.0-...-5439220 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set from main via ldflags at build time.

Functions

func ListBackups

func ListBackups() []backup.Manifest

ListBackups returns all backup manifests from the backup directory.

func ResolveVersion

func ResolveVersion(ldflagsVersion string) string

ResolveVersion determines the effective version string. Priority: ldflags override > debug.BuildInfo.Main.Version > "dev".

When the binary is built via GoReleaser, ldflagsVersion is a real semver (e.g. "1.8.3") and BuildInfo is never consulted. When built via `go install`, ldflagsVersion defaults to "dev" and BuildInfo.Main.Version contains the tagged version (e.g. "v1.8.3") or "(devel)" for untagged builds.

func Run

func Run() error

func RunArgs

func RunArgs(args []string, stdout io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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