Tagger defines an interface for event data structs that support tags/groups/categories/etc. Usually used together with TaggedHook.
| 7 | // Tagger defines an interface for event data structs that support tags/groups/categories/etc. |
| 8 | // Usually used together with TaggedHook. |
| 9 | type Tagger interface { |
| 10 | Resolver |
| 11 | |
| 12 | Tags() []string |
| 13 | } |
| 14 | |
| 15 | // wrapped local Hook embedded struct to limit the public API surface. |
| 16 | type mainHook[T Tagger] struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…