]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: correct an inaccuracy in the 'go help work' docs
authorMichael Matloob <matloob@golang.org>
Mon, 22 Nov 2021 20:37:29 +0000 (15:37 -0500)
committerMichael Matloob <matloob@golang.org>
Mon, 22 Nov 2021 21:52:20 +0000 (21:52 +0000)
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>
src/cmd/go/alldocs.go
src/cmd/go/internal/workcmd/work.go

index 296f8f8c6aaee505e159ecf6488b4a88e63313a4..12b64d309c359f58d261bd354e0e908d6d5cad34 100644 (file)
 // 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
index a79eebe649e9cf881ff266f5d8e12d7a5b770cca..3ddbfbe7726ec25776b4650857171597bdfc1759 100644 (file)
@@ -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