diff --git a/README.md b/README.md index 8e8e52d..8b6005b 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,12 @@ func main() { // You need to catch them in event channel, DefaultHandler or specified HandlerFunction fmt.Println(result, err) } + + ch := make(chan bool) + <-ch } ``` ## SIC! You should not modify received events, because it can be read in another amigo goroutine. -If you need to modify, you should copy all values to another map and modify it. \ No newline at end of file +If you need to modify, you should copy all values to another map and modify it.