]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/cfg: remove unused Gopath variable
authorBryan C. Mills <bcmills@google.com>
Tue, 12 Mar 2019 19:42:45 +0000 (15:42 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 12 Mar 2019 20:09:48 +0000 (20:09 +0000)
Change-Id: Ib268157674824fd7552d3c36a61eccf8c720eaeb
Reviewed-on: https://go-review.googlesource.com/c/go/+/167083
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/cfg/cfg.go

index 325e7d50af869696433c25fb215a60577b8103e1..31c1fb84ef2d8c0ca12e313e052663a47d4e59e7 100644 (file)
@@ -73,7 +73,6 @@ var (
        Goarch    = BuildContext.GOARCH
        Goos      = BuildContext.GOOS
        ExeSuffix string
-       Gopath    = filepath.SplitList(BuildContext.GOPATH)
 
        // ModulesEnabled specifies whether the go command is running
        // in module-aware mode (as opposed to GOPATH mode).