version

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version provides build-time version information.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version (e.g., "0.1.0", "0.1.0-alpha.1").
	Version = "dev"
	// Commit is the git commit SHA.
	Commit = "none"
	// Date is the build date in RFC3339 format.
	Date = "unknown"
)

These variables are set at build time using ldflags.

Functions

func Info

func Info() string

Info returns formatted version information.

func Short

func Short() string

Short returns just the version string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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