Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentVersion ¶
CurrentVersion gets the current version for our binary executing the command in a shell and parsing the output.
Types ¶
type CheckVersionResponse ¶ added in v0.1.3
CheckVersionResponse tells us if current version is outdated and which version is the latest
func CheckVersion ¶
func CheckVersion(binary string, info config.BinaryConfig, current string) (*CheckVersionResponse, error)
CheckVersion checks if our current version is outdated
Click to show internal directories.
Click to hide internal directories.