Skip to content
Snippets Groups Projects
Commit 4c9e0ece authored by Wolfgang Welz's avatar Wolfgang Welz
Browse files

Fix: correct name for event example

parent b8a8cf9f
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ func intStringCaller(handler interface{}, params ...interface{}) {
handler.(func(int, string))(params[0].(int), params[1].(string))
}
func ExampleHelloWorld() {
func ExampleEvent() {
// create event object (usually exposed through a public struct that holds all the different event types)
event := NewEvent(intStringCaller)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment