From 311c0cace2297d6d1084c05ab1acf79aaa6ffa4e Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 13 Oct 2017 12:37:18 +0900 Subject: [PATCH] ing --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index f509f65..cb2ad98 100644 --- a/util.go +++ b/util.go @@ -187,7 +187,7 @@ func marshal(target interface{}, ext string) ([]byte, error) { } return buf.Bytes(), nil case ".json": - return json.Marshal(target) + return json.MarshalIndent(target, "", "\t") default: return nil, fmt.Errorf("Config: Not supported extention[%s]", ext) }