version

package
v0.33.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package version exposes the build-time version + sha to the CLI's `ppz version` verb. Both are settable via -ldflags at build time:

go build -ldflags "-X github.com/pipescloud/ppz/internal/version.Version=v0.3.0 \
                   -X github.com/pipescloud/ppz/internal/version.BuildSHA=abc1234" ./cmd/ppz

Defaults are "dev" / "unknown" so a `go build ./...` without ldflags still produces a usable binary that self-identifies as a dev build.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version  = "dev"
	BuildSHA = "unknown"
)

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