From: Alan Donovan Date: Thu, 16 Aug 2018 20:31:45 +0000 (-0400) Subject: doc: describe golang.org/x/go/packages in go1.11 release notes X-Git-Tag: go1.11rc2~8^2~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=08d10f9af1429d19633722e36f7bfeda6c000aa5;p=gostls13.git doc: describe golang.org/x/go/packages in go1.11 release notes Also, rename an HTML element ID to avoid duplicate. Fixes golang/go#27038 Change-Id: Icc064a1cc86ddc794fc085d98b4cde3effff8ad0 Reviewed-on: https://go-review.googlesource.com/129635 Reviewed-by: Andrew Bonventre Reviewed-by: Ian Cottrell --- diff --git a/doc/go1.11.html b/doc/go1.11.html index a1249db475..89649f34c0 100644 --- a/doc/go1.11.html +++ b/doc/go1.11.html @@ -167,7 +167,18 @@ Do not send CLs removing the interior tags from such phrases.

Package loading

- TODO: Note about go/build versus golang.org/x/tools/go/packages. + The new package + golang.org/x/tools/go/packages + provides a simple API for locating and loading packages of Go source code. + Although not yet part of the standard library, for many tasks it + effectively replaces the go/build + package, whose API is unable to fully support modules. + Because it runs an external query command such as + go list + to obtain information about Go packages, it enables the construction of + analysis tools that work equally well with alternative build systems + such as Bazel + and Buck.

Build cache requirement

@@ -793,7 +804,7 @@ for k := range m { -
runtime
+
runtime