Documentation ¶
Index ¶
Constants ¶
View Source
const ( GoAPPName = "go" GoEnvAPPName = "goenv" )
Variables ¶
This section is empty.
Functions ¶
func AddInstaller ¶ added in v0.0.39
func AddInstaller(appName string, installer APPInstaller)
Types ¶
type APPInstaller ¶ added in v0.0.39
type GoEnvInstaller ¶ added in v0.0.39
type GoEnvInstaller struct { }
func NewGoEnvInstaller ¶ added in v0.0.39
func NewGoEnvInstaller() *GoEnvInstaller
func (*GoEnvInstaller) Exists ¶ added in v0.0.39
func (s *GoEnvInstaller) Exists(version string) bool
func (*GoEnvInstaller) Install ¶ added in v0.0.39
func (s *GoEnvInstaller) Install(version string) error
func (*GoEnvInstaller) InstallForce ¶ added in v0.0.39
func (s *GoEnvInstaller) InstallForce(version string) error
func (*GoEnvInstaller) NeedRoot ¶ added in v0.0.39
func (s *GoEnvInstaller) NeedRoot() bool
func (*GoEnvInstaller) Uninstall ¶ added in v0.0.39
func (s *GoEnvInstaller) Uninstall(version string) error
type GoInstaller ¶ added in v0.0.39
type GoInstaller struct { }
func NewGoInstaller ¶ added in v0.0.39
func NewGoInstaller() *GoInstaller
func (*GoInstaller) Exists ¶ added in v0.0.39
func (s *GoInstaller) Exists(version string) bool
func (*GoInstaller) Install ¶ added in v0.0.39
func (s *GoInstaller) Install(version string) error
func (*GoInstaller) InstallForce ¶ added in v0.0.39
func (s *GoInstaller) InstallForce(version string) error
func (*GoInstaller) NeedRoot ¶ added in v0.0.39
func (s *GoInstaller) NeedRoot() bool
func (*GoInstaller) Uninstall ¶ added in v0.0.39
func (s *GoInstaller) Uninstall(version string) error
type InstallTool ¶
type InstallTool struct { }
func NewInstallTool ¶
func NewInstallTool() *InstallTool
Click to show internal directories.
Click to hide internal directories.