1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00

examples/hello: simplify the minimal example

This commit is contained in:
Jaana Burcu Dogan 2017-05-10 14:38:11 -07:00
parent 62f833fc9f
commit 467d918128

View File

@ -12,9 +12,7 @@ import (
) )
func main() { func main() {
if err := agent.Listen(&agent.Options{ if err := agent.Listen(nil); err != nil {
Addr: "127.0.0.1:4321",
}); err != nil {
log.Fatal(err) log.Fatal(err)
} }
time.Sleep(time.Hour) time.Sleep(time.Hour)