From 265fbaa94b8614cbd861711d7f7c6d278dc1ddba Mon Sep 17 00:00:00 2001
From: Michael Matloob
Date: Mon, 13 Dec 2021 13:49:30 -0500
Subject: [PATCH] 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
---
doc/go1.18.html | 11 +++++++++++
1 file changed, 11 insertions(+)
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