From: Bryan C. Mills
Date: Wed, 10 Nov 2021 21:57:14 +0000 (-0500)
Subject: doc/go1.18: add a release note for 'go mod vendor -o'
X-Git-Tag: go1.18beta1~382
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=47b3ab5ede452a88c2da4c5eaf092b2d707d2ff4;p=gostls13.git
doc/go1.18: add a release note for 'go mod vendor -o'
For #47327
Change-Id: I50418c0d017c4e90a2c13d26945ee639079e4e33
Reviewed-on: https://go-review.googlesource.com/c/go/+/363174
Trust: Bryan C. Mills
Run-TryBot: Bryan C. Mills
TryBot-Result: Go Bot
Reviewed-by: Paschalis Tsilias
Reviewed-by: Ian Lance Taylor
---
diff --git a/doc/go1.18.html b/doc/go1.18.html
index 44c56444fc..bec9ada383 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -114,6 +114,15 @@ Do not send CLs removing the interior tags from such phrases.
go
mod
download
all
.
+
+ The go
mod
vendor
subcommand now
+ supports a -o
flag to set the output directory.
+ (Other go
commands still read from the vendor
+ directory at the module root when loading packages
+ with -mod=vendor
, so the main use for this flag is for
+ third-party tools that need to collect package source code.)
+
+
TODO: https://golang.org/cl/349595: cmd/go: add GOAMD64 environment variable