Go to file
Paulo Simão 5b31c05c53 cnpj on the way 2021-09-29 22:04:43 -03:00
cnpj cnpj on the way 2021-09-29 22:04:43 -03:00
cpf 1st ver 2021-09-29 21:28:45 -03:00
.gitignore 1st ver 2021-09-29 21:28:45 -03:00
README.md 1st ver 2021-09-29 21:28:45 -03:00
go.mod 1st ver 2021-09-29 21:28:45 -03:00

README.md

Validators

Package with multiple complex validation entities (only CPF now)

Usage:

package main

import (
	"go.digitalcircle.com.br/open/validators/cpf"
	"log"
)

func main() {
	acpf := "401.852.780-27"
	if cpf.Check(acpf) {
		log.Printf("CPF OK: %s", cpf.Format(acpf))
	}
}