version

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	Commit    = "unknown"
	BuildTime = "unknown"
)

These variables are set during build using ldflags

Functions

func GetShortVersion

func GetShortVersion() string

GetShortVersion returns a short version string suitable for command line usage

func GetVersion

func GetVersion() string

GetVersion returns the complete version information

func GetVersionInfo

func GetVersionInfo() map[string]interface{}

GetVersionInfo returns detailed version information

func GetVersionString

func GetVersionString() string

GetVersionString returns a formatted version string

func IsDevelopment

func IsDevelopment() bool

IsDevelopment returns true if this is a development build

Types

This section is empty.

Jump to

Keyboard shortcuts

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