Documentation
¶
Index ¶
Constants ¶
View Source
const RepoSlug = "github.com/coegle/workspace_cli"
Variables ¶
This section is empty.
Functions ¶
func CheckAndNotice ¶
func CheckAndNotice()
CheckAndNotice silently checks for updates (once a day) and prompts the user if a new version is available.
func Update ¶
func Update(currentVersion string) (*selfupdate.Release, error)
Update checks for updates and updates the binary if a newer version is found. It returns the latest Release info and any error encountered.
func UpdateCache ¶
func UpdateCache(cache updateCache, cachePath string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.