commit | 0e974a2df931ed6463b732fcc911ebc62dab8b5a | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sat Jun 19 08:02:01 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Mon Jun 21 10:10:49 2021 +0000 |
tree | ec5e29c873148f584855441baecd5ce88f670e83 | |
parent | ffcf9a09ea3622f9cb2c78d0a06b50a2a4bdd1d6 [diff] |
event: Builder.With takes vararg labels Change Builder.With so that its arg is a ...Label. Implement by appending the passed labels to the event. The compiler can prove that the vararg does not escape, so this causes no allocation for short args. Remove the WithAll method because it's no longer necessary. Change-Id: I147d7bcd2c922cb4457dc2be6c4825b01a456d29 Reviewed-on: https://go-review.googlesource.com/c/exp/+/329589 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.