]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: implement the "all" pattern for lazy loading
authorBryan C. Mills <bcmills@google.com>
Fri, 13 Mar 2020 20:32:37 +0000 (16:32 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 9 Sep 2020 22:37:22 +0000 (22:37 +0000)
commitd27ebc7b8630993269c36e7728a7f30543ffa048
tree9d572666faf47590b1d7125b143b0186d12ef4e5
parentb4944ef310ed43fad53c6128344e4bed2b346c88
cmd/go/internal/modload: implement the "all" pattern for lazy loading

The new semantics of the "all" package pattern can be implemented
without actually changing module loading per se. This change
implements those semantics, so that the change can be decoupled from
the changes to the module requirement graph.

For #36460

Change-Id: I0ee8b17afa8b728dc470a42a540fcc01764a4442
Reviewed-on: https://go-review.googlesource.com/c/go/+/240623
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
doc/go1.16.html
src/cmd/go/internal/modcmd/tidy.go
src/cmd/go/internal/modcmd/why.go
src/cmd/go/internal/modload/load.go
src/cmd/go/internal/modload/modfile.go
src/cmd/go/testdata/script/mod_all.txt