💾 Archived View for code.pfad.fr › swift › internal › format captured on 2023-12-28 at 15:30:09. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2024-03-21)

-=-=-=-=-=-=-

format package - code.pfad.fr/swift

import "code.pfad.fr/swift/internal/format"

package format is used internally to describe the format of an IBAN.

Types

type Alpha

type Alpha int // (A-Z)

func (Alpha) Expected

func (Alpha) Expected() string

func (Alpha) IndexInvalid

func (Alpha) IndexInvalid(s string) int

func (Alpha) Len

func (l Alpha) Len() int

type AlphaInsensitive

type AlphaInsensitive int // (a-z, A-Z)

func (AlphaInsensitive) Expected

func (AlphaInsensitive) Expected() string

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() string
	IndexInvalid(s string) int // returns -1 if the string is valid
}

type Mixed

type Mixed int // (a-z, A-Z, 0-9)

func (Mixed) Expected

func (Mixed) Expected() string

func (Mixed) IndexInvalid

func (Mixed) IndexInvalid(s string) int

func (Mixed) Len

func (l Mixed) Len() int

type Numeric

type Numeric int // (0-9)

func (Numeric) Expected

func (Numeric) Expected() string

func (Numeric) IndexInvalid

func (Numeric) IndexInvalid(s string) int

func (Numeric) Len

func (l Numeric) Len() int

Files

column.go

Breadcrumb

code.pfad.fr/swift