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() {
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)