package
0.0.1
Repository: https://github.com/inovacc/module.git
Documentation: pkg.go.dev

# Functions

BuildXWriter returns nil if BuildX is false, or the writer to which BuildX output should be written otherwise.
CanGetenv reports whether key is a valid go/env configuration key.
Check exits the program with a fatal error if Error is non-nil.
No description provided by the author
No description provided by the author
No description provided by the author
EnvFile returns the name of the Go environment configuration file.
GetArchEnv returns the name and setting of the GOARCH-specific architecture environment variable.
Getenv gets the value for the configuration key.
GOGOARCH returns the name and value of the GO$GOARCH setting.
LookPath wraps exec.LookPath and caches the result which can be called by multiple Goroutines at the same time.
ParseGOEXPERIMENT parses a (GOOS, GOARCH, GOEXPERIMENT) configuration tuple and returns the enabled and baseline experiment flag sets.
SetGOROOT sets GOROOT and associated variables to the given values.
ToolExeSuffix returns the suffix for executables installed in build.ToolDir.
WithBuildXWriter returns a Context in which BuildX output is written to given io.Writer.

# Constants

No description provided by the author
No description provided by the author
KnownEnv is a list of environment variables that affect the operation of the Go command.

# Variables

-a flag.
-asan flag.
-buildmode flag.
-buildvcs flag: "true", "false", or "auto".
No description provided by the author
-cover flag.
-covermode flag.
-coverpkg flag.
-linkshared flag.
-mod flag.
whether -mod was set explicitly.
reason -mod was set, if set by default.
-msan flag.
-n flag.
-o flag.
-p flag.
-pgo flag.
-pkgdir flag.
-race flag.
No description provided by the author
No description provided by the author
No description provided by the author
-toolexec flag.
-trimpath flag.
-v flag.
-work flag.
-x flag.
CleanGOEXPERIMENT is the minimal GOEXPERIMENT value needed to reproduce the experiments enabled by RawGOEXPERIMENT.
CmdEnv is the new environment for running go tool commands.
"build", "install", "list", "mod tidy", etc.
-debug-actiongraph flag (undocumented, unstable).
-debug-runtime-trace flag (undocumented, unstable).
-debug-trace flag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FramePointerEnabled enables the use of platform conventions for saving frame pointers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GoPathError is set when GOPATH is not set.
No description provided by the author
No description provided by the author
No description provided by the author
cached for efficiency.
No description provided by the author
Either empty or produced by filepath.Join(GOROOT, …).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
-modcacherw flag.
-modfile flag.
ModulesEnabled specifies whether the go command is running in module-aware mode (as opposed to GOPATH mode).
OrigEnv is the original environment of the program at startup.
RawGOEXPERIMENT is the GOEXPERIMENT value set by the user.
No description provided by the author
ToolTags = toolTags()GO_LDSO = defaultGO_LDSO.

# Structs

An EnvVar is an environment variable Name=Value.
ExperimentFlags represents a set of GOEXPERIMENT flags relative to a baseline (platform-default) experiment configuration.