Versions in this module Expand all Collapse all v0 v0.5.0 Mar 31, 2026 Changes in this version + func IsInPath(dir string) bool + func PathWarningMessage(dir string) string + type AssetNamer func(version, goos, goarch string) string + type HTTPDoer interface + Do func(*http.Request) (*http.Response, error) + type Release struct + AssetName string + ChecksumURL string + DownloadURL string + Version string + type Updater struct + AssetNamer AssetNamer + BinaryName string + Client HTTPDoer + Repo string + Token string + func (u *Updater) CheckLatest(ctx context.Context) (*Release, error) + func (u *Updater) FetchRelease(ctx context.Context, version string) (*Release, error) + func (u *Updater) Install(ctx context.Context, rel *Release, exePath string) error