Change information
Commit message:
cmd/go: make the package loader a part of the module loader
This is a part of the project to remove global state in the module
loader. Before this change, the packageLoader was stored in a global
field "loaded" which meant that even though the module loader is no
longer global, part of the module loader still depended on global state.
This change will make progress to the point where we can potentially
have multiple module loaders in the same go/command execution.
Change-Id: If4963a8a9d0e04960cf5424e496114276a6a6964
Files:
- M src/cmd/go/internal/modcmd/vendor.go
- M src/cmd/go/internal/modcmd/why.go
- M src/cmd/go/internal/modget/get.go
- M src/cmd/go/internal/modload/build.go
- M src/cmd/go/internal/modload/init.go
- M src/cmd/go/internal/modload/load.go
- M src/cmd/go/internal/workcmd/sync.go
Change size: M
Delta: 7 files changed, 37 insertions(+), 37 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Ian Alexander, +1 by Michael Matloob
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI