We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f80fd3 commit 7b7049aCopy full SHA for 7b7049a
v2/event/event_data.go
@@ -73,7 +73,7 @@ func (e Event) Data() []byte {
73
}
74
75
// DataAs attempts to populate the provided data object with the event payload.
76
-// data should be a pointer type.
+// obj should be a pointer type.
77
func (e Event) DataAs(obj interface{}) error {
78
data := e.Data()
79
0 commit comments