mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
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 <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
becaeea119
commit
265fbaa94b
|
@ -258,6 +258,17 @@ Do not send CLs removing the interior tags from such phrases.
|
|||
option <code>-fsanitize=address</code>).
|
||||
</p>
|
||||
|
||||
<p><!-- https://golang.org/issue/45713 -->
|
||||
The <code>go</code> command now supports a "Workspace" mode. If a
|
||||
<code>go.work</code> file is found in the working directory or a
|
||||
parent directory, or one is specified using the <code>-workfile</code>
|
||||
flag, it will put the <code>go</code> command into workspace mode.
|
||||
In workspace mode, the <code>go.work</code> file will be used to
|
||||
determine the set of main modules used as the roots for module
|
||||
resolution, instead of using the normally-found <code>go.mod</code>
|
||||
file to specify the single main module.
|
||||
</p>
|
||||
|
||||
<h3 id="gofmt"><code>gofmt</code></h3>
|
||||
|
||||
<p><!-- https://golang.org/issue/43566 -->
|
||||
|
|
Loading…
Reference in a new issue