Skip to content

Commit 63c91d6

Browse files
committed
validators null fix
1 parent 85051cb commit 63c91d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/validation/validators.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ func alphaValidator(match []string, value *generic.Value) error {
428428
if v == "" || v == "<nil>" {
429429
return nil
430430
}
431+
fmt.Println("alpha:", v)
431432
for _, r := range v {
432433
if !((r >= 'a' && r <= 'z') || (r >= 'A' && r <= 'Z') || r == ' ') {
433434
return fmt.Errorf("is not alpha")

0 commit comments

Comments
 (0)