version

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdate

func CheckForUpdate()

CheckForUpdate checks if a newer version is available (once per day). Prints a subtle notification to stderr if an update is available. This function is non-blocking and fails silently on errors.

func FetchLatestVersion

func FetchLatestVersion() (string, error)

FetchLatestVersion fetches the latest release version from GitHub.

Types

type GitHubRelease

type GitHubRelease struct {
	TagName string `json:"tag_name"`
	HTMLURL string `json:"html_url"`
}

Jump to

Keyboard shortcuts

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