commit | 9a6c3a9733e07c7fbfa7f00f440a9a1ffd82ece2 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue May 11 22:34:00 2021 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Thu May 13 03:48:10 2021 +0000 |
tree | 3f60e18cb7708311bc1f17e5ab563abc230ec42e | |
parent | b71d70bf3cbe9c49a0d3f3efa34aae449e303ada [diff] |
event: switch to kind specific handlers This removes Handler and adds a handler per kind, and then detects which kind specific handlers are supported when building an exporter. This change makes it safe to add new kinds in the future, and is also faster for kinds that are not handled. Change-Id: Ic8f57a5da55cfa179d3e98e6e39112b8f87b8303 Reviewed-on: https://go-review.googlesource.com/c/exp/+/318832 Trust: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Go Bot <gobot@golang.org> 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.