For #47327
Change-Id: I50418c0d017c4e90a2c13d26945ee639079e4e33
Reviewed-on: https://go-review.googlesource.com/c/go/+/363174
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Paschalis Tsilias <paschalistsilias@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
<code>go</code> <code>mod</code> <code>download</code> <code>all</code>.
</p>
+<p><!-- https://golang.org/issue/47327 -->
+ The <code>go</code> <code>mod</code> <code>vendor</code> subcommand now
+ supports a <code>-o</code> flag to set the output directory.
+ (Other <code>go</code> commands still read from the <code>vendor</code>
+ directory at the module root when loading packages
+ with <code>-mod=vendor</code>, so the main use for this flag is for
+ third-party tools that need to collect package source code.)
+</p>
+
<p><!-- CL 349595 -->
TODO: <a href="https://golang.org/cl/349595">https://golang.org/cl/349595</a>: cmd/go: add GOAMD64 environment variable
</p>