From a8cc8008dbe70b3a9b62301958ca4835b789febf Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 9 Jun 2017 17:19:40 +0900 Subject: [PATCH] fixed input log --- gateway/services.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gateway/services.go b/gateway/services.go index 929529b..552b265 100644 --- a/gateway/services.go +++ b/gateway/services.go @@ -19,6 +19,7 @@ import ( "git.loafle.net/overflow/overflow_proxy_service/proxy/sensorItem" "git.loafle.net/overflow/overflow_proxy_service/proxy/sensorItemCategory" "git.loafle.net/overflow/overflow_proxy_service/proxy/sensorItemMapping" + "log" ) var g_services map[string]interface{} @@ -98,6 +99,7 @@ func convertParam(sn interface{}, param map[string]string) { paramStr := param["model"] // service converting + log.Println("input model : ", paramStr) err := json.Unmarshal([]byte(paramStr), sn) if err != nil { glog.Fatal("Json Unmarshal Failed : ", err.Error())