Skip to content

Commit 55e5b03

Browse files
author
Bryan C. Mills
committed
doc/go1.18: note changes to automatic go.mod and go.sum updates
Fixes #51242 Updates #45551 Change-Id: Iba6e6acd9a94d24e26fcdd125f1022430723ada7 Reviewed-on: https://go-review.googlesource.com/c/go/+/387920 Trust: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Bryan Mills <[email protected]>
1 parent 6d81024 commit 55e5b03

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/go1.18.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,20 @@ <h4 id="go-get"><code>go</code> <code>get</code></h4>
287287
and installs packages, as before.
288288
</p>
289289

290+
<h4 id="go-mod-updates">Automatic <code>go.mod</code> and <code>go.sum</code> updates</h4>
291+
292+
<p><!-- https://go.dev/issue/45551 -->
293+
The <code>go</code> <code>mod</code> <code>graph</code>,
294+
<code>go</code> <code>mod</code> <code>vendor</code>,
295+
<code>go</code> <code>mod</code> <code>verify</code>, and
296+
<code>go</code> <code>mod</code> <code>why</code> subcommands
297+
no longer automatically update the <code>go.mod</code> and
298+
<code>go.sum</code> files.
299+
(Those files can be updated explicitly using <code>go</code> <code>get</code>,
300+
<code>go</code> <code>mod</code> <code>tidy</code>, or
301+
<code>go</code> <code>mod</code> <code>download</code>.)
302+
</p>
303+
290304
<h4 id="go-version"><code>go</code> <code>version</code></h4>
291305

292306
<p><!-- golang.org/issue/37475 -->

0 commit comments

Comments
 (0)