add domain validation(simple domain names)
Fixes Or Enhances
Make sure that you've checked the boxes below before you submit PR:
- [x] Tests exist or have been written that cover this particular change.
@go-playground/validator-maintainers
Coverage increased (+0.005%) to 74.188% when pulling 7b7e3b3840ec098e1d004379861d0f1626f62e19 on aryehlev:master into c7e0172e0fd176bdc521afb5186818a7db6b77ac on go-playground:master.
@aryehlev I'm hesitant to merge this only because full domain validation is much more complicated than this and don't want to give users a false sense of security.
if a more comprehensive validation can be added I'd be happy to merge.
This is the validation I use since I'd rather let some false negatives than false positives. But I will try to research a more comprehensive validation and if I don't find one I will close this pr. Thank you🙏