1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:18:32 -06:00
go/internal/event
Ian Cottrell c81623a0cb internal/event: move event/core.Tag to event/label.Label
Also moves core.Key to label.Key, but leaves the implementations
behind for now.
After using for a while, the word Tag conveys slightly the wrong
concept, tagging implies the entire set of information, label maps
better to a single named piece of information.
A label is just a named key/value pair, it is not really tied to the
event package, separating it makes it much easier to understand the
public symbols of the event and core packages, and allows us to also
move the key implementations somewhere else, which otherwise dominate
the API.

Change-Id: I46275d531cec91e28af6ab1e74a2713505d52533
Reviewed-on: https://go-review.googlesource.com/c/tools/+/229239
Run-TryBot: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-04-23 18:13:33 +00:00
..
core internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
export internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
label internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
bench_test.go internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
doc.go internal/telemetry: renaming to internal/event 2020-04-23 17:20:48 +00:00
event.go internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00