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.
- 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.