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) }