Versions in this module Expand all Collapse all v0 v0.1.0 Mar 30, 2026 Changes in this version + const CheckInterval + const GitHubRepo + const ReleasesURL + var Version = "dev" + func GetVersion() string + type Asset struct + BrowserDownloadURL string + Name string + Size int64 + type CheckResult struct + CurrentVersion string + DownloadURL string + LatestVersion string + ReleaseNotes string + UpdateAvailable bool + type Release struct + Assets []Asset + Body string + Name string + PublishedAt time.Time + TagName string + type Updater struct + func New(currentVersion string) *Updater + func (u *Updater) Check(ctx context.Context) (*CheckResult, error) + func (u *Updater) PrintUpdateNotice(ctx context.Context) + func (u *Updater) ShouldCheck() bool + func (u *Updater) Update(ctx context.Context, downloadURL string) error