|
@@ -76,6 +76,7 @@ func realValue(val reflect.Value) reflect.Value {
|
|
|
if val.Kind() == reflect.Ptr || val.Kind() == reflect.Interface {
|
|
|
//if val.Kind() == reflect.Interface {
|
|
|
if val.IsNil() && val.Kind() == reflect.Ptr {
|
|
|
+ log.Println(val.Type())
|
|
|
val.Set(reflect.New(val.Type().Elem()))
|
|
|
}
|
|
|
// check
|