The func (c Consumer) Start() error of file event-consumer.go will never return an error result.
While there is an error check at the call site.
Perhaps the function should terminate and return an error if event processing (c.handleEvents(gotEvents)) fails.
The func (c Consumer) Start() error of file event-consumer.go will never return an error result.
While there is an error check at the call site.
Perhaps the function should terminate and return an error if event processing (c.handleEvents(gotEvents)) fails.