mirror of https://github.com/tidwall/evio.git
Fix typo in event.Tick example
This commit is contained in:
parent
399d938449
commit
7c0d9bbba1
|
@ -94,7 +94,7 @@ The `Tick` event fires ticks at a specified interval.
|
|||
The first tick fires immediately after the `Serving` events.
|
||||
|
||||
```go
|
||||
events.Tick = func() (delay time.Duration, action Action){
|
||||
events.Tick = func() (delay time.Duration, action evio.Action){
|
||||
log.Printf("tick")
|
||||
delay = time.Second
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue