Documentation
¶
Overview ¶
Package goenv resolves Go's configuration the way cmd/go does, without running go: even go env can write telemetry counters, and the callers (wb disk and wb disk prune's plan) must not write anything.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
GOCACHE string
GOMODCACHE string
GOPROXY string
GOSUMDB string
GOPRIVATE string
GONOPROXY string
GONOSUMDB string
GOFLAGS string
GOCACHEPROG string
}
Env is the subset of Go's configuration prune depends on, resolved without running go: even `go env` can write telemetry counters, and the plan must not write anything.