From 27e87bac629085e10084e6ea1ae2d40c627622fc Mon Sep 17 00:00:00 2001 From: lordwelch Date: Mon, 6 Nov 2017 23:03:20 -0700 Subject: [PATCH] Debug --- main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index dfdafc3..d157e58 100644 --- a/main.go +++ b/main.go @@ -110,7 +110,11 @@ func main() { panic(err) } - json.Unmarshal(content, tmp) + err = json.Unmarshal(content, tmp) + if err != nil { + panic(err) + } + fmt.Println(strings.TrimSuffix(file.Name(), ext)) keys[strings.TrimSuffix(file.Name(), ext)] = tmp T.Close()