Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchReleaseNotes ¶
FetchReleaseNotes fetches release notes for a specific version (or latest if empty)
Types ¶
type UpdateInfo ¶
type UpdateInfo struct {
CurrentVersion string
LatestVersion string
ReleaseNotes string
HTMLURL string
IsNewer bool
}
UpdateInfo holds information about available updates
func CheckLatestVersion ¶
func CheckLatestVersion(currentVersion string) (*UpdateInfo, error)
CheckLatestVersion checks GitHub for the latest release and compares with current version
Click to show internal directories.
Click to hide internal directories.