Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTokenNotFound = fmt.Errorf("github token not found")
Functions ¶
Types ¶
type VersionInfo ¶ added in v0.0.12
VersionInfo holds the result of a version check against the latest release.
func CheckLatestVersion ¶ added in v0.0.12
func CheckLatestVersion(ctx context.Context) (VersionInfo, error)
CheckLatestVersion fetches the latest GitHub release and compares it with the running version. It does not download or install anything.
Click to show internal directories.
Click to hide internal directories.