version

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the application version - set by build flags
	Version = "test"
	// GitCommit is the git commit hash - set by build flags
	GitCommit = "unknown"
	// BuildDate is the build date - set by build flags
	BuildDate = "unknown"
	// BuildEnv is the environment this binary was built for - set by build flags
	BuildEnv = "unknown"
)

Functions

func Component

func Component(componentName string) string

Component returns version info for a specific component

func Environment added in v1.3.0

func Environment() string

Environment returns the build environment

func EnvironmentInfo added in v1.3.0

func EnvironmentInfo() string

EnvironmentInfo returns detailed environment information including runtime detection

func Info

func Info() string

Info returns detailed version information

func Short

func Short() string

Short returns a short 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