mirror of
https://github.com/golang/go
synced 2024-11-22 09:04:42 -07:00
cmd/go: update go help packages doc on all pattern to focus on modules
Reword the paragraph to focus on modules rather than GOPATH mode. Change-Id: Ide33d502311b3539018f167386a92a94ff955f1f Reviewed-on: https://go-review.googlesource.com/c/go/+/613555 Reviewed-by: Sam Thanawalla <samthanawalla@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
efbf4b0713
commit
b049837d97
@ -2934,11 +2934,9 @@
|
||||
//
|
||||
// - "main" denotes the top-level package in a stand-alone executable.
|
||||
//
|
||||
// - "all" expands to all packages found in all the GOPATH
|
||||
// trees. For example, 'go list all' lists all the packages on the local
|
||||
// system. When using modules, "all" expands to all packages in
|
||||
// the main module and their dependencies, including dependencies
|
||||
// needed by tests of any of those.
|
||||
// - "all" expands to all packages in the main module (or workspace modules) and
|
||||
// their dependencies, including dependencies needed by tests of any of those. In
|
||||
// GOPATH mode, "all" expands to all packages found in all the GOPATH trees.
|
||||
//
|
||||
// - "std" is like all but expands to just the packages in the standard
|
||||
// Go library.
|
||||
|
@ -54,11 +54,9 @@ for packages to be built with the go tool:
|
||||
|
||||
- "main" denotes the top-level package in a stand-alone executable.
|
||||
|
||||
- "all" expands to all packages found in all the GOPATH
|
||||
trees. For example, 'go list all' lists all the packages on the local
|
||||
system. When using modules, "all" expands to all packages in
|
||||
the main module and their dependencies, including dependencies
|
||||
needed by tests of any of those.
|
||||
- "all" expands to all packages in the main module (or workspace modules) and
|
||||
their dependencies, including dependencies needed by tests of any of those. In
|
||||
GOPATH mode, "all" expands to all packages found in all the GOPATH trees.
|
||||
|
||||
- "std" is like all but expands to just the packages in the standard
|
||||
Go library.
|
||||
|
Loading…
Reference in New Issue
Block a user