asaskevich / govalidator

[Go] Package of validators and sanitizers for strings, numerics, slices and structs
MIT License
6.02k stars 556 forks source link

Extend gmail normalizer #331

Open ptman opened 5 years ago

ptman commented 5 years ago

Now it only covers gmail.com and googlemail.com. Maybe refactor it as a separate thing from general email normalization and make it possible to pass in a slice or map[string]bool of domains that should receive gmail handling. Or check if MX records point to gmail email servers.

sergeyglazyrindev commented 2 years ago

Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.