Documentation ¶
Index ¶
- func FindLatestAvailable(prefix string) (string, error)
- func FindLatestInstalled(gowrapHome string) (string, error)
- func FindLatestInstalledForPrefix(gowrapHome, prefix string) (string, error)
- func GetVersionsDir(gowrapHome string) (string, error)
- func InstallIfNotInstalled(gowrapHome, version string) (bool, error)
- func InstallLatestIfNotInstalled(gowrapHome, prefix string) (bool, error)
- func ListInstalled(gowrapHome string) ([]string, error)
- func PrintAvailable() error
- func PrintInstalled(gowrapHome string) error
- func Uninstall(gowrapHome, version string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLatestAvailable ¶ added in v0.0.3
func FindLatestInstalled ¶
func GetVersionsDir ¶
func InstallIfNotInstalled ¶ added in v0.0.2
InstallIfNotInstalled installs the requested version if not already installed. If no error, `true` will be returned if the version was installed or `false` if the version was already available.
func InstallLatestIfNotInstalled ¶ added in v0.0.2
InstallLatestIfNotInstalled installs latest version for given prefix if not already installed. If no error, `true` will be returned if the version was installed or `false` if the version was already available.
func ListInstalled ¶
func PrintAvailable ¶
func PrintAvailable() error
func PrintInstalled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.