Skip to content
Snippets Groups Projects
Verified Commit 1d5bac6c authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: doc

parent af7badfb
No related branches found
Tags v0.1.1
No related merge requests found
...@@ -82,16 +82,16 @@ err = l.Remove("/path/to/watch") ...@@ -82,16 +82,16 @@ err = l.Remove("/path/to/watch")
Error Handling Error Handling
```go ```go
l.OnError = func(err error) { l.SetOnError(func(err error) {
fmt.Println("Error:", err) fmt.Println("Error:", err)
} })
``` ```
Debounce Debounce
```go ```go
// Debounce time in milliseconds // Debounce time in milliseconds
l.Debounce = 1000 l.SetDebounce(1000)
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment