mirror of https://github.com/golang/go.git
cmd/go/internal/workcmd: remove a potentially confusing statement
A statement in the go work use docs that was meant to clarify that go work use would clean up use statements where the directories did not exist ended up causing confusion. Remove that statement for now. We might want to add something back in the future. For #68245 Change-Id: I7f6646b5dd05c18aa15e0e54f2816753f318404e Reviewed-on: https://go-review.googlesource.com/c/go/+/595536 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Eli Bendersky <eliben@google.com>
This commit is contained in:
parent
f71c00b616
commit
94982a0782
|
|
@ -1689,8 +1689,7 @@
|
|||
//
|
||||
// The -r flag searches recursively for modules in the argument
|
||||
// directories, and the use command operates as if each of the directories
|
||||
// were specified as arguments: namely, use directives will be added for
|
||||
// directories that exist, and removed for directories that do not exist.
|
||||
// were specified as arguments.
|
||||
//
|
||||
// See the workspaces reference at https://go.dev/ref/mod#workspaces
|
||||
// for more information.
|
||||
|
|
|
|||
|
|
@ -42,8 +42,7 @@ thing that go work use does.
|
|||
|
||||
The -r flag searches recursively for modules in the argument
|
||||
directories, and the use command operates as if each of the directories
|
||||
were specified as arguments: namely, use directives will be added for
|
||||
directories that exist, and removed for directories that do not exist.
|
||||
were specified as arguments.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue