commit | 6d0764842bd11cf1d786b7f508dc9ee02a636c65 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Thu Dec 06 23:27:45 2018 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Fri Dec 21 15:06:31 2018 +0000 |
tree | 8c6bdf38b78322d43b2cfb5078a9481a009b614e | |
parent | 46ee236611b9c4d93c6868088d0353fe62700a83 [diff] |
errors/fmt: add adaptor support Embedded error in Formatter interface to allow assigning an errors.Formatter to an error variable without a cast. Change-Id: I6fff75b6128256877c31fa6d7e1cdcaeabfbdeeb Reviewed-on: https://go-review.googlesource.com/c/152999 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> Reviewed-by: Damien Neil <dneil@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.