pull/388/head
sakura1116vg 6 years ago
parent e69e9a28bb
commit 9c31c8d387
  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