Skip to content

flavioltonon/go-brazil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-brazil

build Coverage Status

Go Brazil is a library for evaluation of brazilian documents and other patterns.

Install

go get github.com/flavioltonon/go-brazil

Usage

In general, the lib usage involves the generation and evaluation of brazilian document numbers and other brazilian patterns, such as mobile numbers. Here are the documents/patterns which have been contemplated so far:

  • CNPJ (Cadastro Nacional de Pessoas Jurídicas)
  • CPF (Cadastro de Pessoas Físicas)
  • Título de Eleitor
  • PIS
  • SUS
  • Mobile numbers
  • Dates

Some usage examples can be found at example/example.go.

About

Go library for validation of brazilian documents

Resources

Stars

Watchers

Forks

Languages