Documentation
¶
Overview ¶
Package version provides build and version information.
Index ¶
Constants ¶
View Source
const Version = "0.1.10"
Version is the current application version. Update this at logical milestones.
Variables ¶
This section is empty.
Functions ¶
func InstallCommand ¶
func InstallCommand() string
InstallCommand returns the command to update the application.
Types ¶
type GitHubRelease ¶
type GitHubRelease struct {
TagName string `json:"tag_name"`
}
GitHubRelease represents the GitHub API response for releases.
type UpdateInfo ¶
type UpdateInfo struct {
CurrentVersion string
LatestVersion string
UpdateAvailable bool
Error error
}
UpdateInfo contains information about available updates.
func CheckForUpdate ¶
func CheckForUpdate() UpdateInfo
CheckForUpdate checks GitHub for the latest release version.
Click to show internal directories.
Click to hide internal directories.