|
|
@ -129,6 +129,7 @@ func (v *validate) traverseField(ctx context.Context, parent reflect.Value, curr |
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
|
|
|
|
structField: cf.structField, |
|
|
|
}, |
|
|
|
}, |
|
|
|
) |
|
|
|
) |
|
|
|
return |
|
|
|
return |
|
|
@ -154,6 +155,7 @@ func (v *validate) traverseField(ctx context.Context, parent reflect.Value, curr |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
typ: current.Type(), |
|
|
|
typ: current.Type(), |
|
|
|
|
|
|
|
structField: cf.structField, |
|
|
|
}, |
|
|
|
}, |
|
|
|
) |
|
|
|
) |
|
|
|
return |
|
|
|
return |
|
|
@ -199,6 +201,7 @@ func (v *validate) traverseField(ctx context.Context, parent reflect.Value, curr |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
typ: typ, |
|
|
|
typ: typ, |
|
|
|
|
|
|
|
structField: cf.structField, |
|
|
|
}, |
|
|
|
}, |
|
|
|
) |
|
|
|
) |
|
|
|
return |
|
|
|
return |
|
|
@ -413,6 +416,7 @@ OUTER: |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
typ: typ, |
|
|
|
typ: typ, |
|
|
|
|
|
|
|
structField: cf.structField, |
|
|
|
}, |
|
|
|
}, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -433,6 +437,7 @@ OUTER: |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
typ: typ, |
|
|
|
typ: typ, |
|
|
|
|
|
|
|
structField: cf.structField, |
|
|
|
}, |
|
|
|
}, |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
@ -474,6 +479,7 @@ OUTER: |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
typ: typ, |
|
|
|
typ: typ, |
|
|
|
|
|
|
|
structField: cf.structField, |
|
|
|
}, |
|
|
|
}, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|