|
|
@ -117,8 +117,8 @@ func (v *validate) traverseField(parent reflect.Value, current reflect.Value, ns |
|
|
|
actualTag: ct.tag, |
|
|
|
actualTag: ct.tag, |
|
|
|
ns: v.str1, |
|
|
|
ns: v.str1, |
|
|
|
structNs: v.str2, |
|
|
|
structNs: v.str2, |
|
|
|
field: cf.altName, |
|
|
|
fieldLen: len(cf.altName), |
|
|
|
structField: cf.name, |
|
|
|
structfieldLen: len(cf.name), |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -133,8 +133,8 @@ func (v *validate) traverseField(parent reflect.Value, current reflect.Value, ns |
|
|
|
actualTag: ct.tag, |
|
|
|
actualTag: ct.tag, |
|
|
|
ns: v.str1, |
|
|
|
ns: v.str1, |
|
|
|
structNs: v.str2, |
|
|
|
structNs: v.str2, |
|
|
|
field: cf.altName, |
|
|
|
fieldLen: len(cf.altName), |
|
|
|
structField: cf.name, |
|
|
|
structfieldLen: len(cf.name), |
|
|
|
value: current.Interface(), |
|
|
|
value: current.Interface(), |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
@ -327,8 +327,8 @@ OUTER: |
|
|
|
actualTag: ct.actualAliasTag, |
|
|
|
actualTag: ct.actualAliasTag, |
|
|
|
ns: v.str1, |
|
|
|
ns: v.str1, |
|
|
|
structNs: v.str2, |
|
|
|
structNs: v.str2, |
|
|
|
field: cf.altName, |
|
|
|
fieldLen: len(cf.altName), |
|
|
|
structField: cf.name, |
|
|
|
structfieldLen: len(cf.name), |
|
|
|
value: current.Interface(), |
|
|
|
value: current.Interface(), |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
@ -346,8 +346,8 @@ OUTER: |
|
|
|
actualTag: tVal, |
|
|
|
actualTag: tVal, |
|
|
|
ns: v.str1, |
|
|
|
ns: v.str1, |
|
|
|
structNs: v.str2, |
|
|
|
structNs: v.str2, |
|
|
|
field: cf.altName, |
|
|
|
fieldLen: len(cf.altName), |
|
|
|
structField: cf.name, |
|
|
|
structfieldLen: len(cf.name), |
|
|
|
value: current.Interface(), |
|
|
|
value: current.Interface(), |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
@ -385,8 +385,8 @@ OUTER: |
|
|
|
actualTag: ct.tag, |
|
|
|
actualTag: ct.tag, |
|
|
|
ns: v.str1, |
|
|
|
ns: v.str1, |
|
|
|
structNs: v.str2, |
|
|
|
structNs: v.str2, |
|
|
|
field: cf.altName, |
|
|
|
fieldLen: len(cf.altName), |
|
|
|
structField: cf.name, |
|
|
|
structfieldLen: len(cf.name), |
|
|
|
value: current.Interface(), |
|
|
|
value: current.Interface(), |
|
|
|
param: ct.param, |
|
|
|
param: ct.param, |
|
|
|
kind: kind, |
|
|
|
kind: kind, |
|
|
|