Documentation ¶
Index ¶
Constants ¶
View Source
const ( GitHub = iota + 1 Others )
Variables ¶
This section is empty.
Functions ¶
func CheckUpdates ¶
CheckUpdates Does four things:
1. Get the current version of the binary 2. Find the provider of the binary 3. Check for the new version of the binary 4. Compare the current version with the new version
func DownloadAndMoveFiles ¶
DownloadAndMoveFiles Does five things:
1. Download the file 2. Verify the file 3. Uncompress the file 4. Move the files to the install location 5. Verify the new binary
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.