]> Cypherpunks repositories - gostls13.git/commit
cmd/go: prep for 'go env' refactoring
authorMatthew Dempsky <mdempsky@google.com>
Sat, 19 Jun 2021 10:35:15 +0000 (03:35 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 28 Jun 2021 20:51:04 +0000 (20:51 +0000)
commita1d27269d698d684497d0dc61c968a1c2dbe00b3
tree7edd27d0baf28947783df1fba30ce42ff2c5aa0f
parent901510ed4ef1a979321f33159b534e374290ef65
cmd/go: prep for 'go env' refactoring

This CL refactors code a little to make it easier to add GOEXPERIMENT
support in the future.

Change-Id: I87903056f7863049e58be72047b2b8a60a213baf
Reviewed-on: https://go-review.googlesource.com/c/go/+/329654
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/envcmd/env.go
src/cmd/go/main.go
src/cmd/go/testdata/script/env_unset.txt [new file with mode: 0644]