| 18 | type Event interface{ isEvent() } |
| 19 | |
| 20 | type EventUserCreated struct { |
| 21 | userID int |
| 22 | email string |
| 23 | } |
| 24 | |
| 25 | func (EventUserCreated) isEvent() {} |
| 26 | func NewEventUserCreated(userID int, email string) Event { |
nothing calls this directly
no outgoing calls
no test coverage detected