From 3f15b6d2b6ac5eba2805f7683da9f59d47199c53 Mon Sep 17 00:00:00 2001 From: Pieter Louw Date: Wed, 4 Oct 2017 08:22:55 +0200 Subject: [PATCH] README: replace agent.Listen nil param with empty Options (#55) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)