Documentation ¶
Index ¶
Constants ¶
View Source
const InstallMethod = "go-install"
Variables ¶
This section is empty.
Functions ¶
func IsInstallMethod ¶
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func NewInstaller ¶
func NewInstaller(cfg InstallerParameters) Installer
type InstallerParameters ¶
type InstallerParameters struct { Module string `json:"module" yaml:"module" mapstructure:"module"` Entrypoint string `json:"entrypoint" yaml:"entrypoint" mapstructure:"entrypoint"` LDFlags []string `json:"ldflags" yaml:"ldflags" mapstructure:"ldflags"` Args []string `json:"args" yaml:"args" mapstructure:"args"` Env []string `json:"env" yaml:"env" mapstructure:"env"` }
Click to show internal directories.
Click to hide internal directories.