version

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.1.39"

Version is the semantic version of ODDK During development (0.1.x), PATCH increments for any change regardless of type

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Version     string
	GitCommit   string
	GitTime     string
	GitModified bool
	GoVersion   string
}

BuildInfo contains version and build information

func GetBuildInfo

func GetBuildInfo() BuildInfo

GetBuildInfo returns version and build information from embedded VCS data

func (BuildInfo) Short

func (bi BuildInfo) Short() string

Short returns a short version string (version + commit)

func (BuildInfo) String

func (bi BuildInfo) String() string

String returns a human-readable version string

Jump to

Keyboard shortcuts

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