Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = errors.New("swift: invalid length") ErrInvalidCase = errors.New("swift: invalid case") ErrInvalidBankCode = errors.New("swift: invalid bank code") ErrInvalidCountryCode = errors.New("swift: invalid country code") ErrCountryCodeNotPresent = errors.New("swift: country code does not exist") ErrInvalidLocationCode = errors.New("swift: invalid location code") ErrInvalidBranchCode = errors.New("swift: invalid branch code") )
Error codes returned by failures to validate an swift.
Functions ¶
Types ¶
type Swift ¶
type Swift struct {
// contains filtered or unexported fields
}
Swift represents a swift/bic code.
func (*Swift) BranchCode ¶
BranchCode returns branch code of swift code.
func (*Swift) CountryCode ¶
CountryCode returns country code of swift code.
func (*Swift) LocationCode ¶
LocationCode returns location code of swift code.
Click to show internal directories.
Click to hide internal directories.