commit | 93478b68679b86b40b9105d23e952300f9c93173 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Jun 21 09:50:00 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Jun 22 00:01:00 2021 +0000 |
tree | cdbc8da483f42cec777fbb8b41ac9e34af5f97e4 | |
parent | ca6c8a17ad684c3040ce32287e0633e2d2740523 [diff] |
event: add Event.Clone Add a method for cloning an Event. This lets users who plan to deliver many events for the same context to amortize the context lookup. Change-Id: I71624a8f42508fb70142c85dd9d390a903f2eb6a Reviewed-on: https://go-review.googlesource.com/c/exp/+/329789 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.