diff options
| author | Ian Alexander <jitsu@google.com> | 2025-08-20 19:16:36 -0400 |
|---|---|---|
| committer | Ian Alexander <jitsu@google.com> | 2025-10-06 15:05:13 -0700 |
| commit | 7bfeb43509acbe75ce8e1a14c60bffe597e46813 (patch) | |
| tree | e69b7e1822b09c22f2da22bef2da09e3292ded63 /src/runtime/testdata | |
| parent | 1d62e92567a858b18f4e7e0c24e071c039dd3edf (diff) | |
| download | go-7bfeb43509acbe75ce8e1a14c60bffe597e46813.tar.xz | |
cmd/go: refactor usage of `initialized`
This commit refactors usage of the global variable `initialized` to
the global LoaderState field of the same name.
This commit is part of the overall effort to eliminate global
modloader state.
[git-generate]
cd src/cmd/go/internal/modload
rf 'ex { initialized -> LoaderState.initialized }'
rf 'rm initialized'
Change-Id: I97e35bab00f4c22661670b01b69425fc25efe6df
Reviewed-on: https://go-review.googlesource.com/c/go/+/698056
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
