commit | ee2e2e1199855f8b0b515d61d819e35a97b54f23 | [log] [tgz] |
---|---|---|
author | Jean de Klerk <deklerk@google.com> | Thu Dec 20 17:44:27 2018 -0800 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Dec 21 18:34:42 2018 +0000 |
tree | 3fc0c6f571937090a3a8e2e1e50db478b6cd5057 | |
parent | 6d0764842bd11cf1d786b7f508dc9ee02a636c65 [diff] |
cmd/apidiff: check for package existence This provides a nicer error experience when providing a package that does not exist. Change-Id: I816df12556832af67f432cccd91da2dc5232b798 Reviewed-on: https://go-review.googlesource.com/c/155577 Reviewed-by: Jonathan Amsterdam <jba@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.