/nifptvalidator

A portuguese NIF (Número de Identificação Fiscal) validator.

Primary LanguageGoMIT LicenseMIT

NIF PT Validator

A portuguese NIF (Número de Identificação Fiscal) validator.

Usage

Get the package:

go get github.com/hugorosario/nifptvalidator

Import the validator

    import	"github.com/hugorosario/nifptvalidator"

Use it

    nif := "123456789"
    fmt.Println(nif, "=>", nifptvalidator.IsValidNif(nif))

MIT License