We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the goevent processor function defined with pointer in params, e.g.: func ProcessEvent(obj * MyStruct)
func ProcessEvent(obj * MyStruct)
and i trigger it with nil: eventTable.Trigger(myEventTitle, nil)
eventTable.Trigger(myEventTitle, nil)
it ends up with error: expected *MyStruct, but got %!s(<nil>)
expected *MyStruct, but got %!s(<nil>)
The text was updated successfully, but these errors were encountered:
Thank you for your reporting. I don't maintain this repository, so I do not have any plan to fix any issue, sorry.
Sorry, something went wrong.
Sorry, I don't know maintained packages. But I guess you can find a package from awesome-go. https://github.com/avelino/awesome-go#messaging
No branches or pull requests
If the goevent processor function defined with pointer in params, e.g.:
func ProcessEvent(obj * MyStruct)
and i trigger it with nil:
eventTable.Trigger(myEventTitle, nil)
it ends up with error:
expected *MyStruct, but got %!s(<nil>)
The text was updated successfully, but these errors were encountered: