version

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "v0.0.1"
	Commit  = "none"
	Date    = "unknown"
)

Version is set by goreleaser or build script via ldflags

Functions

func CheckForUpdate

func CheckForUpdate()

CheckForUpdate checks GitHub for a newer version and prints a message if available. Errors are handled silently - returns without printing if check fails.

Types

type GitHubTag

type GitHubTag struct {
	Name string `json:"name"`
}

GitHubTag represents a tag from GitHub API

Jump to

Keyboard shortcuts

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