Skip to content

nextbit/cpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpf

Build status

Brazilian CPF validator

Instalation

go get github.com/nextbit/cpf

Usage

Call the valid func passing the cpf string

cpf.Valid("886.100.254-46") => true
cpf.Valid("88610025446") => true

cpf.Valid("123.123.123.12") => false
cpf.Valid("12312312") => false

About

Brazilian CPF validation in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages