version

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version provides build metadata and version information.

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildVersion is the semantic version of the build
	BuildVersion = "0.1.2"

	// BuildCommit is the git commit hash of the build
	BuildCommit = "unknown"

	// BuildDate is the date and time of the build
	BuildDate = "unknown"

	// GoVersion is the version of Go used to build
	GoVersion = runtime.Version()
)

Functions

func Info

func Info() map[string]string

Info returns a map of version information

func String

func String() string

String 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