package
0.8.0
Repository: https://github.com/svengreb/wand.git
Documentation: pkg.go.dev

# Packages

Package build provides a task for the Go toolchain "build" command.
Package env provides a task for the Go toolchain `env` command.
Package install provides a task for the Go toolchain "install" command.
Package test provides a task for the Go toolchain "test" command.

# Functions

BuildGoOptions builds shared Go toolchain options.
NewOptions creates new shared Go toolchain options.
NewRunner creates a new Go toolchain command runner.
NewRunnerOptions creates new runner options.
WithAsmFlags sets flags to pass on each `go tool asm` invocation.
WithEnv sets the runner specific environment.
WithFlags sets additional Go toolchain flags.
WithFlagsPrefixAll indicates whether the values of `-asmflags` and `-gcflags` should be prefixed with the `all=` pattern in order to apply to all packages.
WithGcFlags sets flags to pass on each `go tool compile` invocation.
WithLdFlags sets flags to pass on each `go tool link` invocation.
WithMixins sets parameter mixins that can be applied by option consumers.
WithRaceDetector indicates whether the race detector should be enabled.
WithRunnerEnv sets the runner specific environment.
WithRunnerExec sets the name or path of the runner command executable.
WithRunnerQuiet indicates whether the runner output should be minimal.
WithTags sets Go toolchain tags.
WithTrimmedPath indicates whether all file system paths should be removed from the resulting executable.

# Constants

DefaultEnvVarGO111MODULE is the default environment variable name to toggle the Go 1.11 module mode.
DefaultEnvVarGOBIN is the default environment variable name for the Go binary executable search path.
DefaultEnvVarGOFLAGS is the default environment variable name for Go tool flags.
DefaultEnvVarGOPATH is the default environment variable name for the Go path.
DefaultGOBINSubDirName is the default name of the subdirectory for the Go executables within DefaultEnvVarGOBIN.
RunnerName is the name of the runner.

# Variables

DefaultRunnerExec is the default path to the runner executable.

# Structs

MixinImproveDebugging is a task.Mixin for golang.Options to add linker flags to improve the debugging of binary artifacts.
MixinImproveEscapeAnalysis is a task.Mixin for golang.Options to add linker flags to improve the escape analysis of binary artifacts.
MixinInjectBuildTimeVariableValues is a task.Mixin for golang.Options to inject build-time values through the `-X` linker flags to populate e.g.
MixinStripDebugMetadata is a task.Mixin for golang.Options to add linker flags to strip debug information from binary artifacts.
Options are shared Go toolchain task options.
Runner is a task runner for the Go toolchain.
RunnerOptions are runner options.

# Type aliases

Option is a shared Go toolchain task option.
RunnerOption is a runner option.