|
|
|
@ -128,6 +128,7 @@ func (v *validate) traverseField(ctx context.Context, parent reflect.Value, curr |
|
|
|
|
fieldLen: uint8(len(cf.altName)), |
|
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
|
param: ct.param, |
|
|
|
|
cem: cf.tagValues[defaultErrTagName], |
|
|
|
|
kind: kind, |
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
@ -152,6 +153,7 @@ func (v *validate) traverseField(ctx context.Context, parent reflect.Value, curr |
|
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
|
value: current.Interface(), |
|
|
|
|
param: ct.param, |
|
|
|
|
cem: cf.tagValues[defaultErrTagName], |
|
|
|
|
kind: kind, |
|
|
|
|
typ: current.Type(), |
|
|
|
|
}, |
|
|
|
@ -197,6 +199,7 @@ func (v *validate) traverseField(ctx context.Context, parent reflect.Value, curr |
|
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
|
value: current.Interface(), |
|
|
|
|
param: ct.param, |
|
|
|
|
cem: cf.tagValues[defaultErrTagName], |
|
|
|
|
kind: kind, |
|
|
|
|
typ: typ, |
|
|
|
|
}, |
|
|
|
@ -402,6 +405,7 @@ OUTER: |
|
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
|
value: current.Interface(), |
|
|
|
|
param: ct.param, |
|
|
|
|
cem: cf.tagValues[defaultErrTagName], |
|
|
|
|
kind: kind, |
|
|
|
|
typ: typ, |
|
|
|
|
}, |
|
|
|
@ -422,6 +426,7 @@ OUTER: |
|
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
|
value: current.Interface(), |
|
|
|
|
param: ct.param, |
|
|
|
|
cem: cf.tagValues[defaultErrTagName], |
|
|
|
|
kind: kind, |
|
|
|
|
typ: typ, |
|
|
|
|
}, |
|
|
|
@ -463,6 +468,7 @@ OUTER: |
|
|
|
|
structfieldLen: uint8(len(cf.name)), |
|
|
|
|
value: current.Interface(), |
|
|
|
|
param: ct.param, |
|
|
|
|
cem: cf.tagValues[defaultErrTagName], |
|
|
|
|
kind: kind, |
|
|
|
|
typ: typ, |
|
|
|
|
}, |
|
|
|
|