route/gops.go

14 lines
145 B
Go
Raw Normal View History

2017-04-06 22:54:33 +00:00
package main
import (
"log"
"github.com/google/gops/agent"
)
func init() {
if err := agent.Listen(nil); err != nil {
log.Fatal(err)
}
}