From: Bryan C. Mills
Date: Thu, 14 Jul 2022 15:37:17 +0000 (-0400)
Subject: doc/go1.19: add a release note for 'go list -json=SomeField'
X-Git-Tag: go1.19~3^2~48
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=266c70c263;p=gostls13.git
doc/go1.19: add a release note for 'go list -json=SomeField'
For #29666.
Change-Id: I575375fb039e5809b0ed2ce985f6352a61142d63
Reviewed-on: https://go-review.googlesource.com/c/go/+/417595
TryBot-Result: Gopher Robot
Auto-Submit: Bryan Mills
Reviewed-by: Hyang-Ah Hana Kim
Run-TryBot: Bryan Mills
---
diff --git a/doc/go1.19.html b/doc/go1.19.html
index 53c11bd26e..41ffe8ebfd 100644
--- a/doc/go1.19.html
+++ b/doc/go1.19.html
@@ -118,6 +118,15 @@ as well as support for rendering them to HTML, Markdown, and text.
and GOGCCFLAGS
variables it reports.
+
+ go
list
-json
now accepts a
+ comma-separated list of JSON fields to populate. If a list is specified,
+ the JSON output will include only those fields, and
+ go
list
may avoid work to compute fields that are
+ not included. In some cases, this may suppress errors that would otherwise
+ be reported.
+
+
The go
command now caches information necessary to load some modules,
which should result in a speed-up of some go
list
invocations.