Versions in this module Expand all Collapse all v1 v1.0.3 Apr 8, 2026 Changes in this version + func CurrentBinaryPath() (string, error) + func FetchLatest(apiURL string) (string, error) + func IsNewer(current, latest string) bool + func SelfUpdate(binaryPath, newVersion, baseURL string) error + type Cache struct + CheckedAt time.Time + LatestVersion string + NotifiedAt time.Time + NotifiedVersion string + type CheckResult struct + LatestVersion string + RefreshDone <-chan struct{} + ShouldNotify bool + func CheckForUpdate(currentVersion, configDir, apiURL string) CheckResult + type InstallMethod int + const DirectDownload + const GoInstall + const Homebrew + func DetectInstallMethod(binaryPath string) InstallMethod + func (m InstallMethod) String() string