package
Version:
v0.7.3
Opens a new window with list of versions in this module.
Published: Mar 10, 2025
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NeedsUpdate returns true if the application hasn't checked for an update
longer than the provided duration.
Update checks the API for the latest fetch version and upgrades the current
executable in-place, returning the exit code to use.
type Asset struct {
Name string `json:"name"`
URL string `json:"browser_download_url"`
}
type Release struct {
TagName string `json:"tag_name"`
Assets []Asset `json:"assets"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.