Skip to content

Commit

Permalink
validation
Browse files Browse the repository at this point in the history
  • Loading branch information
iesreza committed Jul 25, 2024
1 parent 4c923ca commit 8c8acce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/validation/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ func regexValidator(match []string, value *generic.Value) error {

func dateValidator(match []string, value *generic.Value) error {
var v = value.String()
fmt.Println(v)
if v == "" {
return nil
}
Expand Down

0 comments on commit 8c8acce

Please sign in to comment.