github.com/alloyzeus/go-azfl@v0.0.0-20231220071816-9740126a2d07/azcore/event.go (about) 1 package azcore 2 3 // Event provides a contract for all events in the system. 4 type Event interface { 5 AZEvent() 6 } 7 8 // EventBase provides a common implementation for all events. 9 type EventBase struct{} 10 11 var _ Event = EventBase{} 12 13 // AZEvent is required by Event 14 func (EventBase) AZEvent() {}