From bd9f2212bb979a908a8ad7f5781606d4de41c702 Mon Sep 17 00:00:00 2001 From: biless Date: Wed, 17 May 2017 16:06:37 +0800 Subject: [PATCH] remove trace --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index dc0ee4d1..c9582365 100644 --- a/helpers.go +++ b/helpers.go @@ -227,7 +227,7 @@ func int64ToIntValue(id int64, tp reflect.Type) reflect.Value { temp := uint(id) v = &temp } - fmt.Println(v) + if tp.Kind() == reflect.Ptr { return reflect.ValueOf(v).Convert(tp) }