func NewGerman(bankID, accountID string) (IBAN, error) {
	if len(accountID) == (germanAccountIDLength - 1) {
		accountID = "0" + accountID
	}

	bban := fmt.Sprintf("%s%s", bankID, accountID)

	return New(countryDE, bban)
}
// NewGerman calculates the Iban for the provided bankID and accountID.
// It will return an error if the accountID can not be parsed as int.
// It returns only valid german IBANs, as it is hard coded to use german
// settings.
NewGerman calculates the Iban for the provided bankID and accountID.
It will return an error if the accountID can not be parsed as int.
It returns only valid german IBANs, as it is hard coded to use german
settings.
// NewGerman calculates the Iban for the provided bankID and accountID . // It will return an error if the accountID can not be parsed as int . // It returns only valid german IBANs as it is hard coded to use german // settings .
func NewGerman(bankID, accountID string) (IBAN, error) {
	if len(accountID) == (germanAccountIDLength - 1) {
		accountID = "0" + accountID
	}
	bban := fmt.Sprintf("%s%s", bankID, accountID)
	return New(countryDE, bban)
}
func NewGerman ( bankID , accountID string ) ( IBAN , error ) { if len ( accountID ) == ( germanAccountIDLength - 1 ) { accountID = " " + accountID } bban := fmt . Sprintf ( " " , bankID , accountID ) return New ( countryDE , bban ) }
NewGerman calculates the Iban for the provided bankID and accountID.
NewGerman calculates the Iban for the provided bankID and accountID .