version

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// These variables are set via ldflags during build
	Version   = "dev"        // Semantic version (e.g., "0.1.0")
	GitCommit = unknownValue // Git commit hash (e.g., "a751d4c")
	BuildTime = unknownValue // Build timestamp (e.g., "20251015123705")
	GitDirty  = "false"      // Whether repo had uncommitted changes
)

Functions

func BuildInfo

func BuildInfo() string

BuildInfo returns detailed build information

func Full

func Full() string

func Short

func Short() string

Short returns just the semantic version

Types

This section is empty.

Jump to

Keyboard shortcuts

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