version

package
v1.0.7 Latest Latest
Warning

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

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

Documentation

Overview

Package version provides build-time version information. Variables are set via ldflags during build (see Makefile).

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version (from git tag or "dev")
	Version = "dev"

	// Commit is the git commit hash
	Commit = "unknown"

	// Date is the build timestamp
	Date = "unknown"
)

Build-time variables set via ldflags

Functions

func Info

func Info() string

Info returns a formatted 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