diff --git a/README.md b/README.md index 2d51595..9c33cc4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ import ( ) func main() { - if err := agent.Listen(nil); err != nil { + if err := agent.Listen(agent.Options{}); err != nil { log.Fatal(err) } time.Sleep(time.Hour)