aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-06-18 17:28:29 -0400
committerBryan C. Mills <bcmills@google.com>2021-06-21 21:21:09 +0000
commit1bd5a20e3c8a3a82e87487c381b76c97b720cd52 (patch)
tree938610ffc57146477399cbe437023b81f9517e29 /doc
parent761edf71f64bb2ef949ceb588822c47d2e1cc6ac (diff)
downloadgo-1bd5a20e3c8a3a82e87487c381b76c97b720cd52.tar.gz
go-1bd5a20e3c8a3a82e87487c381b76c97b720cd52.zip
cmd/go: add a -go flag to 'go mod graph'
For #46366 Change-Id: I8417e6e4dbb8cb56ff7afc16893a01b7bb938217 Reviewed-on: https://go-review.googlesource.com/c/go/+/329529 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html
index 02cd18d037..22896c8c27 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -187,6 +187,13 @@ Do not send CLs removing the interior tags from such phrases.
features.
</p>
+<p><!-- golang.org/issue/46366 -->
+ The <code>go</code> <code>mod</code> <code>graph</code> subcommand also
+ supports the <code>-go</code> flag, which causes it to report the graph as
+ seen by the indicated Go version, showing dependencies that may otherwise be
+ pruned out by lazy loading.
+</p>
+
<h4 id="module-deprecation-comments">Module deprecation comments</h4>
<p><!-- golang.org/issue/40357 -->