Skip to content

Commit

Permalink
examples/hello: simplify the minimal example
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyll committed May 10, 2017
1 parent 62f833f commit 467d918
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/hello/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 467d918

Please sign in to comment.