fix time out bug setupCaluerAndSetter
This commit is contained in:
parent
be5e79f2f3
commit
a91142ec03
@ -462,7 +462,7 @@ func (field *Field) setupValuerAndSetter() {
|
||||
default:
|
||||
field.ValueOf = func(ctx context.Context, v reflect.Value) (interface{}, bool) {
|
||||
v = reflect.Indirect(v)
|
||||
for v.Kind() == reflect.Interface {
|
||||
if v.Kind() == reflect.Interface {
|
||||
v = reflect.Indirect(v)
|
||||
}
|
||||
for _, fieldIdx := range field.StructField.Index {
|
||||
|
Loading…
x
Reference in New Issue
Block a user