1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00

go/packages: remove scary warning on documentation

Add a guarantee for breaking changes.

Change-Id: I7c176eb0c3a309ad187e3a33a645996e397d09be
Reviewed-on: https://go-review.googlesource.com/c/141684
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Michael Matloob 2018-10-12 16:29:09 -04:00
parent 13ebad898d
commit 4b6ee5fb87

View File

@ -5,11 +5,10 @@
/* /*
Package packages loads Go packages for inspection and analysis. Package packages loads Go packages for inspection and analysis.
NOTE: THIS PACKAGE IS NOT YET READY FOR WIDESPREAD USE: Note: Though this package is ready for widespread use, we may make minor
- The interface is still being revised and minor changes are likely. breaking changes if absolutely necessary. Any such change will be
- The implementation depends on the Go 1.11 go command; announced on golang-tools@ at least one week before it is committed. No
support for earlier versions will be added soon. more breaking changes will be made after December 1, 2018.
- We intend to finalize the API before Go 1.11 is released.
The Load function takes as input a list of patterns and return a list of Package The Load function takes as input a list of patterns and return a list of Package
structs describing individual packages matched by those patterns. structs describing individual packages matched by those patterns.