Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultInstaller ¶
type DefaultInstaller struct {
// contains filtered or unexported fields
}
DefaultInstaller implements Installer using go install.
func NewDefaultInstaller ¶
func NewDefaultInstaller() *DefaultInstaller
NewDefaultInstaller creates a new DefaultInstaller.
func NewDefaultInstallerWithGOPROXY ¶ added in v0.1.4
func NewDefaultInstallerWithGOPROXY(goproxy string) *DefaultInstaller
NewDefaultInstallerWithGOPROXY creates a new DefaultInstaller that overrides the GOPROXY environment variable with the provided value when it is non-empty.
func NewDefaultInstallerWithOptions ¶ added in v0.1.5
func NewDefaultInstallerWithOptions(goproxy string, cgoenabled *bool) *DefaultInstaller
NewDefaultInstallerWithOptions creates a new DefaultInstaller with the provided installer options. Non-empty goproxy overrides the GOPROXY environment variable; non-nil cgoenabled overrides the CGO_ENABLED environment variable.
Click to show internal directories.
Click to hide internal directories.