-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Right now Event.ParsePayload returns interface{}, but it would be nice if it returned a more specific interface with the common fields of events.
It looks like using the Event struct fully is deprecated, and now it is just used to load up with the payload before calling parse.
I propose replacing the Event struct with an Event interface and then making ParsePayload a stand alone function rather than a receiver function.
Does this sound reasonable?
discordianfish and martinb3discordianfish
Metadata
Metadata
Assignees
Labels
No labels