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