version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package version holds build metadata. The variables are overridden at release time via -ldflags; the zero values identify a development build.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Build metadata, set via ldflags at release time, e.g.:

-ldflags "-X github.com/positronick/cli/internal/version.Version=v0.1.0"

Functions

func String

func String() string

String returns a single human-readable version line, e.g. "positronick dev (none, unknown)".

Types

This section is empty.

Jump to

Keyboard shortcuts

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