Documentation ¶
Overview ¶
package format is used internally to describe the format of an IBAN.
Index ¶
Constants ¶
View Source
const ( NoMoreChar = iota + 1 UppercaseAlphaChar AlphaChar ExpectedNumericChar ExpectedAlphaNumericChar )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alpha ¶
type Alpha int // (A-Z)
func (Alpha) Expected ¶
func (Alpha) Expected() ExpectedCharType
func (Alpha) IndexInvalid ¶
type AlphaInsensitive ¶
type AlphaInsensitive int // (a-z, A-Z)
func (AlphaInsensitive) Expected ¶
func (AlphaInsensitive) Expected() ExpectedCharType
func (AlphaInsensitive) IndexInvalid ¶
func (AlphaInsensitive) IndexInvalid(s string) int
func (AlphaInsensitive) Len ¶
func (l AlphaInsensitive) Len() int
type Column ¶
type Column interface { Len() int Expected() ExpectedCharType IndexInvalid(s string) int // returns -1 if the string is valid }
type ExpectedCharType ¶ added in v0.8.0
type ExpectedCharType int
func (ExpectedCharType) String ¶ added in v0.8.0
func (e ExpectedCharType) String() string
type Mixed ¶
type Mixed int // (a-z, A-Z, 0-9)
func (Mixed) Expected ¶
func (Mixed) Expected() ExpectedCharType
func (Mixed) IndexInvalid ¶
Click to show internal directories.
Click to hide internal directories.