Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForUpdate ¶
CheckForUpdate checks if an update is available and prints a message
func DownloadUpdate ¶
DownloadUpdate downloads the latest version and replaces the current binary
func GetBinaryName ¶
func GetBinaryName() string
GetBinaryName returns the binary name for the current platform
func GetLatestVersion ¶
GetLatestVersion fetches the latest release version from GitHub
func IsUpdateAvailable ¶
IsUpdateAvailable checks if a newer version is available
func ShouldCheckForUpdate ¶
func ShouldCheckForUpdate() bool
ShouldCheckForUpdate checks if it's time to check for updates based on last check time
Types ¶
Click to show internal directories.
Click to hide internal directories.