version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version exposes the lagotto version string. Version is overridden at release time via -ldflags; otherwise String falls back to runtime/debug build info.

Index

Constants

This section is empty.

Variables

View Source
var Version = ""

Version is overridden via -ldflags at release time by goreleaser (e.g. "v0.1.0"). When unset (a `go install` build, a `go build` from a dirty checkout), String falls back to module info from runtime/debug.ReadBuildInfo and finally to "(devel)".

Functions

func String

func String() string

String returns the resolved tool version, including VCS metadata (commit hash + dirty flag) when the binary was built without explicit -ldflags. Used by the `--version` flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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