fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
9c33cbc8e2
commit
5a554f9f0c
@ -616,7 +616,7 @@ func (f *unwrap) checkTakeAll(v reflect.Value) bool {
|
|||||||
switch v.Kind() {
|
switch v.Kind() {
|
||||||
case reflect.Struct:
|
case reflect.Struct:
|
||||||
break
|
break
|
||||||
case reflect.Pointer:
|
case reflect.Ptr:
|
||||||
v = v.Elem()
|
v = v.Elem()
|
||||||
if v.Kind() != reflect.Struct {
|
if v.Kind() != reflect.Struct {
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user