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

Struct EventUserCreated

examples/04_pattern_matching/event_handler.go:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18type Event interface{ isEvent() }
19
20type EventUserCreated struct {
21 userID int
22 email string
23}
24
25func (EventUserCreated) isEvent() {}
26func NewEventUserCreated(userID int, email string) Event {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected