Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndNotify ¶
func CheckAndNotify(currentVersion string)
func GetStateFilePath ¶
func GetUpdateInstructions ¶
func GetUpdateInstructions(method InstallMethod, currentVer, latestVer string) string
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func NewChecker ¶
func (*Checker) CheckForUpdate ¶
func (*Checker) PerformUpdate ¶
type InstallMethod ¶
type InstallMethod int
const ( InstallMethodUnknown InstallMethod = iota InstallMethodHomebrew InstallMethodGoInstall InstallMethodSystem InstallMethodBinary )
func DetectInstallMethod ¶
func DetectInstallMethod() InstallMethod
func (InstallMethod) String ¶
func (m InstallMethod) String() string
Click to show internal directories.
Click to hide internal directories.