| 33 | func NewEventUserDeleted(userID int) Event { return EventUserDeleted{userID: userID} } |
| 34 | |
| 35 | type EventOrderPlaced struct { |
| 36 | orderID string |
| 37 | amount float64 |
| 38 | userID int |
| 39 | } |
| 40 | |
| 41 | func (EventOrderPlaced) isEvent() {} |
| 42 | func NewEventOrderPlaced(orderID string, amount float64, userID int) Event { |
nothing calls this directly
no outgoing calls
no test coverage detected