From 467d918128028e0b795ae7377bbe7b2fb1fbe602 Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Wed, 10 May 2017 14:38:11 -0700 Subject: [PATCH] examples/hello: simplify the minimal example --- examples/hello/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/hello/main.go b/examples/hello/main.go index 2222a98..2ee3479 100644 --- a/examples/hello/main.go +++ b/examples/hello/main.go @@ -12,9 +12,7 @@ import ( ) func main() { - if err := agent.Listen(&agent.Options{ - Addr: "127.0.0.1:4321", - }); err != nil { + if err := agent.Listen(nil); err != nil { log.Fatal(err) } time.Sleep(time.Hour)