version

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GitVersion is the git tag version
	GitVersion = "1"
	// BuildMetadata is extra build time data
	BuildMetadata = ""
	// GitCommit is the git sha1
	GitCommit = ""
	// GitTreeState describes the state of the git tree
	GitTreeState = ""
)

Version information

Functions

func GetUserAgent

func GetUserAgent() string

GetUserAgent returns the user agent string

func GetVersion

func GetVersion() string

GetVersion returns the version string

func GetVersionInfo

func GetVersionInfo() map[string]string

GetVersionInfo returns a map with all version information

Types

This section is empty.

Jump to

Keyboard shortcuts

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