Skip to content

Commit

Permalink
Merge pull request vnteamopen#18 from cuonglm/main
Browse files Browse the repository at this point in the history
Add missing imports in README.md example
  • Loading branch information
huyvohcmc authored Apr 28, 2022
2 parents 0adf644 + c133494 commit 146473d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ From your code, you can try to create debouncer.
```go
package main

import (
"fmt"
"time"

"github.com/vnteamopen/godebouncer"
)

func main() {
wait := 5 * time.Second
debouncer := godebouncer.New(wait).WithTriggered(func() {
Expand Down

0 comments on commit 146473d

Please sign in to comment.