diff --git a/event_factory.go b/event_factory.go index e356958..ad1f5fb 100644 --- a/event_factory.go +++ b/event_factory.go @@ -23,7 +23,7 @@ type EventIDFactory struct { } // New creates an event with the Next id in the sequence -func (f *EventIdFactory) New() *Event { +func (f *EventIDFactory) New() *Event { var e *Event if f.NewFunc != nil { e = f.NewFunc()