Documentation
¶
Index ¶
- Constants
- Variables
- func NewFormatSubcommand() plugin.Subcommand
- func NewGoInstallCommand() plugin.Subcommand
- func NewGoUnittestCommand() plugin.Subcommand
- func NewGobuildCommand() plugin.Subcommand
- func NewModReplaceCommand() plugin.Subcommand
- func NewModRequireCommand() plugin.Subcommand
- func NewModTidyCommand() plugin.Subcommand
- func NewModUpdateCommand() plugin.Subcommand
- type HookPhase
Constants ¶
View Source
const ( PreBuildHook = "pre-build" PostBuildHook = "post-build" )
Variables ¶
View Source
var (
RequiredGoEnvKeys = []string{
"GO111MODULE",
"GOFLAGS",
"GOINSECURE",
"GOMOD",
"GOMODCACHE",
"GONOPROXY",
"GONOSUMDB",
"GOPATH",
"GOPROXY",
"GOROOT",
"GOSUMDB",
}
)
Functions ¶
func NewFormatSubcommand ¶
func NewFormatSubcommand() plugin.Subcommand
func NewGoInstallCommand ¶
func NewGoInstallCommand() plugin.Subcommand
func NewGoUnittestCommand ¶
func NewGoUnittestCommand() plugin.Subcommand
func NewGobuildCommand ¶
func NewGobuildCommand() plugin.Subcommand
func NewModReplaceCommand ¶
func NewModReplaceCommand() plugin.Subcommand
func NewModRequireCommand ¶
func NewModRequireCommand() plugin.Subcommand
func NewModTidyCommand ¶
func NewModTidyCommand() plugin.Subcommand
func NewModUpdateCommand ¶
func NewModUpdateCommand() plugin.Subcommand
Types ¶
Click to show internal directories.
Click to hide internal directories.