DanielFillol/Document
This Go package provides functions to validate Brazilian CPF and CNPJ numbers. The ValidateCPF function checks if a given string is a valid CPF number, and the ValidateCNPJ function checks if a given string is a valid CNPJ number. Both functions use weighted sum algorithms to calculate verification digits and validate the numbers against them.
GoApache-2.0