Skip to content
Snippets Groups Projects
Commit 6a764bc4 authored by Hans Moog's avatar Hans Moog
Browse files

Refactor: refactored a few comments

parent 5804c65b
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ func intStringCaller(handler interface{}, params ...interface{}) { ...@@ -11,7 +11,7 @@ func intStringCaller(handler interface{}, params ...interface{}) {
} }
func ExampleHelloWorld() { func ExampleHelloWorld() {
// create event object (usually made accessible through a public struct that holds all the different event types) // create event object (usually exposed through a public struct that holds all the different event types)
event := NewEvent(intStringCaller) event := NewEvent(intStringCaller)
// we have to wrap a function in a closure to make it identifiable // we have to wrap a function in a closure to make it identifiable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment