version

package
v0.9.183 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package version holds the build-stamped version metadata for the cr binary. The values are overridden at release time via goreleaser ldflags (-X .../internal/version.Version=… etc.); the defaults below apply to `go build`/`go run` development builds.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the release version (e.g. "0.1.42"); "dev" for local builds.
	Version = "dev"
	// Commit is the git commit the binary was built from.
	Commit = "none"
	// Date is the build timestamp.
	Date = "unknown"
)

Functions

func Info added in v0.1.29

func Info() string

Info returns the formatted version string shown by `cr version`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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