diff --git a/lib/validation/validators.go b/lib/validation/validators.go index b8eb8b4..72388fc 100644 --- a/lib/validation/validators.go +++ b/lib/validation/validators.go @@ -428,6 +428,7 @@ func alphaValidator(match []string, value *generic.Value) error { if v == "" || v == "" { return nil } + fmt.Println("alpha:", v) for _, r := range v { if !((r >= 'a' && r <= 'z') || (r >= 'A' && r <= 'Z') || r == ' ') { return fmt.Errorf("is not alpha")