Skip to content

A set of functions written in Go to validate Brazilian document numbers

Notifications You must be signed in to change notification settings

gasigo/validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Gabriel Gomes

About

A set of functions written in Go to validate Brazilian document numbers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages