Merge pull request #388 from sakura1116vg/fix-doc

fix doc
pull/404/head
Dean Karn 6 years ago committed by GitHub
commit 16a72ff827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      doc.go

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

Loading…
Cancel
Save