mirror of
https://github.com/golang/go
synced 2024-11-17 12:04:43 -07:00
cmd/go: correct an inaccuracy in the 'go help work' docs
Change-Id: If2c6586b5ad212214b8041f8768fe7d26b877207 Reviewed-on: https://go-review.googlesource.com/c/go/+/366314 Trust: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
parent
f13fcd9e68
commit
100d7ea50d
@ -1383,7 +1383,7 @@
|
||||
// module directories with the "use" directive. These modules are used
|
||||
// as root modules by the go command for builds and related operations.
|
||||
// A workspace that does not specify modules to be used cannot be used
|
||||
// to do builds from local code.
|
||||
// to do builds from local modules.
|
||||
//
|
||||
// To determine whether the go command is operating in workspace mode,
|
||||
// use the "go env GOWORK" command. This will specify the workspace
|
||||
|
@ -24,7 +24,7 @@ A workspace is specified by a go.work file that specifies a set of
|
||||
module directories with the "use" directive. These modules are used
|
||||
as root modules by the go command for builds and related operations.
|
||||
A workspace that does not specify modules to be used cannot be used
|
||||
to do builds from local code.
|
||||
to do builds from local modules.
|
||||
|
||||
To determine whether the go command is operating in workspace mode,
|
||||
use the "go env GOWORK" command. This will specify the workspace
|
||||
|
Loading…
Reference in New Issue
Block a user