Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanSelfUpdate ¶
func FormatUpdateMessage ¶
func FormatUpdateMessage(info *UpdateInfo) string
func GetBinaryPath ¶
func GetUpdateCommand ¶
func GetUpdateCommand() string
func PerformSelfUpdate ¶
func PerformSelfUpdate() error
func ShouldCheckForUpdates ¶
Types ¶
type UpdateInfo ¶
type UpdateInfo struct {
Available bool
CurrentVersion string
LatestVersion string
ReleaseURL string
ReleaseNotes string
}
func CheckForUpdates ¶
func CheckForUpdates() (*UpdateInfo, error)
Click to show internal directories.
Click to hide internal directories.