pull/543/head
Dean Karn 5 years ago
parent c0f05c7b3d
commit b11fb5f16e
  1. 2
      field_level.go

@ -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
} }

Loading…
Cancel
Save