MCPcopy
hub / github.com/MadAppGang/dingo / EventOrderPlaced

Struct EventOrderPlaced

examples/04_pattern_matching/event_handler.go:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33func NewEventUserDeleted(userID int) Event { return EventUserDeleted{userID: userID} }
34
35type EventOrderPlaced struct {
36 orderID string
37 amount float64
38 userID int
39}
40
41func (EventOrderPlaced) isEvent() {}
42func NewEventOrderPlaced(orderID string, amount float64, userID int) Event {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected