]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
cmd/go: remove final references to modfetch.Fetcher_
authorIan Alexander <jitsu@google.com>
Tue, 25 Nov 2025 01:24:51 +0000 (20:24 -0500)
committerIan Alexander <jitsu@google.com>
Wed, 26 Nov 2025 17:32:51 +0000 (09:32 -0800)
commit4976606a2f9203f4520c28d775e67fc32f5853ed
tree16c62cf7d00df6728c2d381fdcbc87f529820137
parent08bf23cb977c9a8620efed6ac841996280d30f3a
cmd/go: remove final references to modfetch.Fetcher_

This commit removes the final references to the global Fetcher_ variable from
the modfetch and modload packages.

This completes the removal of global state from the modfetch package.

Change-Id: Ibb5309acdc7d05f1a7591ddcf890b44b6cc4cb2f
Reviewed-on: https://go-review.googlesource.com/c/go/+/724249
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/load/pkg.go
src/cmd/go/internal/load/test.go
src/cmd/go/internal/modfetch/cache.go
src/cmd/go/internal/modfetch/coderepo_test.go
src/cmd/go/internal/modfetch/fetch.go
src/cmd/go/internal/modfetch/repo.go
src/cmd/go/internal/modload/build.go
src/cmd/go/internal/modload/init.go
src/cmd/go/internal/modload/load.go