version

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
)

Version and Commit are set via ldflags at build time.

Functions

func CheckLatest

func CheckLatest() string

CheckLatest checks GitHub for a newer release. Returns the new version tag (e.g. "v0.7.0") if an update is available, or empty string if current or on error. Silently returns empty on any failure — this is a best-effort check.

func String

func String() string

String returns a human-readable 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