Documentation ¶ Index ¶ func CheckForUpdates(ctx context.Context, branch Branch, currentVersion string) (releaseTag string, latestStable string, err error) func Update(ctx context.Context, tag string) error type Branch func BranchFromString(s string) Branch func (b Branch) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CheckForUpdates ¶ func CheckForUpdates(ctx context.Context, branch Branch, currentVersion string) (releaseTag string, latestStable string, err error) func Update ¶ func Update(ctx context.Context, tag string) error Types ¶ type Branch ¶ type Branch int const ( BranchStable Branch = iota BranchPreview BranchBeta BranchCanary BranchDev ) func BranchFromString ¶ func BranchFromString(s string) Branch func (Branch) String ¶ func (b Branch) String() string Source Files ¶ View all Source files version.go Click to show internal directories. Click to hide internal directories.