site/gops.go

14 lines
145 B
Go
Raw Normal View History

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