Skip to content

Commit

Permalink
Merge pull request #1 from dsincl12/master
Browse files Browse the repository at this point in the history
Add space and remove incorrect parenthesis on README
  • Loading branch information
mustafaturan committed May 24, 2019
2 parents 007107f + 2342d4c commit 46ed7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -66,10 +66,10 @@ pattern.

```go
handler := bus.Handler{
Handle: func(e *Event){
Handle: func(e *Event) {
// do something
// NOTE: Highly recommended to process the event in an async way
}),
},
Matcher: ".*", // matches all topics
}
bus.RegisterHandler("a unique key for the handler", &handler)
Expand Down

0 comments on commit 46ed7f0

Please sign in to comment.