Documentation
¶
Overview ¶
Package version exposes the vp binary's version string.
Version is sourced from the embedded VERSION file (managed by vp itself via vp.yaml). Release builds override it via `-ldflags "-X github.com/ThomasK33/vp/internal/version.Version=..."`, which goreleaser does on tag-triggered builds so snapshot suffixes win over the embedded baseline.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = strings.TrimSpace(embedded)
Version is the vp binary's version string. It defaults to the embedded VERSION file contents (whitespace stripped) and is overridden at link time by goreleaser for tag builds.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.