version

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Version = "0.5.0"

Version represents current version.

Variables

View Source
var (
	// UIVersion is build time var and represents version of the user interface
	UIVersion string
	// GitCommit is build time var and represents curret git commit hash
	GitCommit string
	// BuildDate is build time var and represents build datetime
	BuildDate string
)

Functions

func GenerateBuildVersionString

func GenerateBuildVersionString() string

GenerateBuildVersionString returns string for CLI --version output

Types

type BuildInfo

type BuildInfo struct {
	Version   string `json:"version"`
	UIVersion string `json:"ui_version"`
	GitCommit string `json:"git_commit"`
	BuildDate string `json:"build_date"`
}

BuildInfo defines build information

func GetBuildInfo

func GetBuildInfo() BuildInfo

GetBuildInfo returns build information

Jump to

Keyboard shortcuts

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