version

package
v0.2.0 Latest Latest
Warning

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

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

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.

Jump to

Keyboard shortcuts

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