Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallPowerShellURL ¶
func InstallPowerShellURL() string
func InstallShellURL ¶
func InstallShellURL() string
func ShouldCheck ¶
Types ¶
type CheckResult ¶
type CheckResult struct {
CurrentVersion string
LatestVersion string
LatestURL string
UpdateAvailable bool
}
func CheckForUpdate ¶
func CheckForUpdate(currentVersion string) (*CheckResult, error)
func StateHasUpdate ¶ added in v1.0.2
func StateHasUpdate(currentVersion string) *CheckResult
Click to show internal directories.
Click to hide internal directories.