From: Michael Matloob
Date: Mon, 13 Dec 2021 18:49:30 +0000 (-0500)
Subject: doc: update go1.18 release notes with a blurb about workspace mode
X-Git-Tag: go1.18beta2~247
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=265fbaa94b8614cbd861711d7f7c6d278dc1ddba;p=gostls13.git
doc: update go1.18 release notes with a blurb about workspace mode
For #47694
Change-Id: I79cdbdc66ea9942b597f29c9a4f428075f053466
Reviewed-on: https://go-review.googlesource.com/c/go/+/371295
Trust: Michael Matloob
Run-TryBot: Michael Matloob
TryBot-Result: Gopher Robot
Reviewed-by: Bryan Mills
---
diff --git a/doc/go1.18.html b/doc/go1.18.html
index 5ab40280b5..e5222b7fcc 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -258,6 +258,17 @@ Do not send CLs removing the interior tags from such phrases.
option -fsanitize=address
).
+
+ The go
command now supports a "Workspace" mode. If a
+ go.work
file is found in the working directory or a
+ parent directory, or one is specified using the -workfile
+ flag, it will put the go
command into workspace mode.
+ In workspace mode, the go.work
file will be used to
+ determine the set of main modules used as the roots for module
+ resolution, instead of using the normally-found go.mod
+ file to specify the single main module.
+
+
gofmt