github.com/DanielFillol/Document (go): 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.
Keywords: cnpj-validator|cpf-validador|go|golang|golang-package