update

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdates

func CheckForUpdates(currentVersion string, logger *zerolog.Logger)

CheckForUpdates fetches the latest release from GitHub and compares it to the current version. If a newer version is found, it prints a message to os.Stderr. This function is designed to be run in a goroutine so it doesn't block the main CLI execution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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