summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-13 14:24:54 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-13 14:24:54 -0800
commitd1eac138737668e102a2663ee19b15443c42c6ec (patch)
tree1924b4b501bed6013fbcb8c226665390eb252ef5
parent8340401e97d76fa3ebdf501270e54533f5f9ff27 (diff)
adding print debug for config []byte value
-rw-r--r--system/db/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/db/config.go b/system/db/config.go
index 31574ab..6f10e65 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -180,6 +180,8 @@ func LoadCacheConfig() error {
return err
}
+ fmt.Println(string(c))
+
// convert json => map[string]interface{} => url.Values
var kv map[string]interface{}
err = json.Unmarshal(c, &kv)