commit | ab0bbb655bdc69e3d16dd1a182445077704f9672 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Jun 03 09:41:45 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Jun 04 17:50:43 2021 +0000 |
tree | 6a2ec1a8262433c4af7aa8f227589b3ced27af77 | |
parent | 12e9f91913290696446a635bee9efa5ba850750c [diff] |
event: add NopHandler Add a no-op handler for tests and embedding. The spelling "Nop" is used by the standard library: ioutil.NopCloser, for example. Change-Id: I28cb44ff05943c0a0cea0a5a7280b3cc75e67446 Reviewed-on: https://go-review.googlesource.com/c/exp/+/324634 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.