let's not blow up terminals now

master
Jordan Orelli 8 years ago
parent f28f5ecc4e
commit 81be585c0d

@ -9,6 +9,7 @@ import (
"fmt" "fmt"
"io" "io"
"os" "os"
"reflect"
"runtime/pprof" "runtime/pprof"
"strings" "strings"
@ -126,7 +127,7 @@ func main() {
p := newParser(r) p := newParser(r)
go p.run(c) go p.run(c)
for msg := range c { for msg := range c {
fmt.Println(msg) fmt.Println(reflect.TypeOf(msg))
} }
if p.err != nil { if p.err != nil {
fmt.Println(err) fmt.Println(err)

Loading…
Cancel
Save