From 81be585c0dd61443e59789281fd3b594427284a4 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Fri, 5 Aug 2016 20:15:05 -0400 Subject: [PATCH] let's not blow up terminals now --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index e2455f2..d72fb98 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,7 @@ import ( "fmt" "io" "os" + "reflect" "runtime/pprof" "strings" @@ -126,7 +127,7 @@ func main() { p := newParser(r) go p.run(c) for msg := range c { - fmt.Println(msg) + fmt.Println(reflect.TypeOf(msg)) } if p.err != nil { fmt.Println(err)