version

package
v0.56.6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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