fix parsing primitive types instead of erroring unknown type
This commit is contained in:
parent
ccf6577bc5
commit
ec152aec4b
|
@ -123,6 +123,6 @@ func parseParameter(data interface{}) (interface{}, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (3) NIL if unknown type */
|
/* (3) NIL if unknown type */
|
||||||
return dvalue, ErrUnknownType
|
return dvalue.Interface(), nil
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue