type Event struct {
Type EventType Panic interface{} // If the goroutine panicked, this is the panic value. Error error// The value returned by the function.}
const (
NormalExit EventType = iota// The goroutine exited normally. PanicExit // The goroutine panicked. RuntimeExit // The goroutine was terminated via runtime.Goexit().)