-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.modules
Milestone
Description
go list -test ./...
can be used to download the modules needed to build tests of the packages matched by ./...
. This is usually a smaller set of modules than go mod download all
(or equivalent go mod download
) would select, so it's a useful command when building small Docker images.
This should be documented as a FAQ on https://github.com/golang/go/wiki/Modules.
Related #36460: fewer modules will be downloaded by go mod download all
when lazy module loading is implemented.
mvdan
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.modules