Documentation ¶
Index ¶
- Variables
- func GetUpdaterCallback(toolName string) func()
- func GetVersionCheckCallback(toolName, basePath string) func() string
- func GoInstall(path string, tool types.Tool) error
- func Install(path string, tool types.Tool) error
- func Remove(path string, tool types.Tool) error
- func Update(path string, tool types.Tool, disableChangeLog bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
WindowExt = ".exe"
)
Functions ¶
func GetUpdaterCallback ¶
func GetUpdaterCallback(toolName string) func()
GetUpdaterCallback returns a callback function when executed updates that tool
func GetVersionCheckCallback ¶
GetVersionCheckCallback returns a callback function and when it is executed returns a version string of that tool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.