Documentation
¶
Index ¶
Constants ¶
View Source
const (
// CountryCodeDE is the German country code.
CountryCodeDE = "DE"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBAN ¶
type IBAN struct {
// contains filtered or unexported fields
}
IBAN represents an IBAN.
func GenerateForCountry ¶
func GenerateForCountry(cc CountryCode) (*IBAN, error)
GenerateForCountry generates an IBAN for a random BankCode for the given Country.
func GenerateFromBankCode ¶
func GenerateFromBankCode(cc CountryCode, bc string) (*IBAN, error)
GenerateFromBankCode generates an IBAN for the given bank and country code.
Click to show internal directories.
Click to hide internal directories.