Versions in this module Expand all Collapse all v1 v1.0.1 Oct 8, 2022 v1.0.0 Sep 11, 2019 Changes in this version + var ErrInvalidArgument = errors.New("checkdigit: invalid argument") + type Generator interface + Generate func(seed string) (int, error) + type Provider interface + func NewDamm() Provider + func NewEAN13() Provider + func NewEAN8() Provider + func NewISBN10() Provider + func NewISBN13() Provider + func NewITF() Provider + func NewJAN13() Provider + func NewJAN8() Provider + func NewLuhn() Provider + func NewSSCC() Provider + func NewUPC() Provider + func NewVerhoeff() Provider + type Verifier interface + Verify func(code string) bool