cmd/routed: add gops

This commit is contained in:
Cadey Ratio 2017-12-11 18:27:24 -08:00
parent e3a389dde4
commit c1fa811afe
1 changed files with 13 additions and 0 deletions

13
cmd/routed/gops.go Normal file
View File

@ -0,0 +1,13 @@
package main
import (
"log"
"github.com/google/gops/agent"
)
func init() {
if err := agent.Listen(nil); err != nil {
log.Fatal(err)
}
}