Fix doc typo

pull/302/head
pigi72333 7 years ago
parent 65480b6f6c
commit 17c6ef0e87
  1. 2
      doc.go

@ -31,7 +31,7 @@ Custom Validation Functions
Custom Validation functions can be added. Example: Custom Validation functions can be added. Example:
// Structure // Structure
func customFunc(fl FielddLevel) bool { func customFunc(fl FieldLevel) bool {
if fl.Field().String() == "invalid" { if fl.Field().String() == "invalid" {
return false return false

Loading…
Cancel
Save