version

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package version holds the build-time version variables for the dp binary. The zero values ("dev", "none", "unknown") are used for local builds. GoReleaser injects the real values via -ldflags at release time.

Index

Constants

This section is empty.

Variables

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

These variables are overridden by GoReleaser ldflags at release time.

Functions

func Info

func Info() string

Info returns the formatted version string printed by dp version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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