From f3172a639723dbe7bec00e37e550cf75e4b48a7a Mon Sep 17 00:00:00 2001 From: Byung Jun Park Date: Mon, 7 Jan 2019 23:08:00 +0900 Subject: [PATCH] ing --- encoding/json/json.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding/json/json.go b/encoding/json/json.go index 22893b3..d5f0009 100644 --- a/encoding/json/json.go +++ b/encoding/json/json.go @@ -5,7 +5,7 @@ import ( "fmt" "reflect" - our "git.loafle.net/overflow/util-go/reflect" + cr "github.com/corpix/reflect" ) // SetValueWithJSONStringArray set the value of json string array @@ -41,7 +41,7 @@ func SetValueWithJSONStringArray(values []string, targets []interface{}) error { case reflect.Ptr: return fmt.Errorf("Type of target[%d] cannot be double ptr, value=%s", indexI, value) default: - cv, err := our.ConvertToType(value, reflect.TypeOf(target).Elem()) + cv, err := cr.ConvertToType(value, reflect.TypeOf(target).Elem()) if nil != err { return fmt.Errorf("Type conversion of value[%s] has been failed to %s[%d]", value, reflect.TypeOf(target).Elem().Kind(), indexI) }