A package with validation funcs written in golang.
Add the package to the desired file.
Functions:
Validator.IsValidEmail(email) returns a bool
Validator.IsValidCPF(cpf) returns a bool
Validator.IsValidCNPJ(cnpj) returns a bool
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Gabriel Gomes