]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: enable module index by default
authorMichael Matloob <matloob@golang.org>
Tue, 7 Jun 2022 17:53:40 +0000 (13:53 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 8 Jun 2022 16:53:29 +0000 (16:53 +0000)
commit899f0a29c7be2bba3f8f0bc2987f7c2d70a6c4ec
tree3b938204c8a1514812b71e2dd7199454830130c7
parentf862280e30300017292b24a0fca088628d7b8065
cmd/go: enable module index by default

This changes the module index to be enabled by default, rather than
disabled by default. The index can still be disabled by setting
GODEBUG=index=0.

Fixes #53290.

Change-Id: Ic3728fc69d96bb6ef56b56e8c9f2dce35f2923cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/410821
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/go/internal/modindex/read.go
src/cmd/go/script_test.go