|
|
@ -68,7 +68,7 @@ func (v *validate) Field() reflect.Value { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// FieldName returns the field's name with the tag
|
|
|
|
// FieldName returns the field's name with the tag
|
|
|
|
// name takeing precedence over the fields actual name.
|
|
|
|
// name taking precedence over the fields actual name.
|
|
|
|
func (v *validate) FieldName() string { |
|
|
|
func (v *validate) FieldName() string { |
|
|
|
return v.cf.altName |
|
|
|
return v.cf.altName |
|
|
|
} |
|
|
|
} |
|
|
|