Validator for Golang
A package with validation funcs written in golang.
Installation
Add the package to the desired file.
Usage
Functions:
Validator.IsValidEmail(email) returns a bool
Validator.IsValidCPF(cpf) returns a bool
Validator.IsValidCNPJ(cnpj) returns a bool
Contributing
- 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
Credits
Gabriel Gomes