From b4d280e5ef59a7e7945a8d4e419d2b4a0ce3b494 Mon Sep 17 00:00:00 2001 From: lordwelch <timmy@narnian.us> Date: Mon, 6 Nov 2017 22:16:59 -0700 Subject: [PATCH] Missing dot on extension --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7595e8a..b669169 100644 --- a/main.go +++ b/main.go @@ -89,7 +89,7 @@ func main() { ext = path.Ext(file.Name()) fmt.Println(ext) - if strings.ToLower(ext) == "json" { + if strings.ToLower(ext) == ".json" { var ( tmp Keys T *os.File