💾 Archived View for code.pfad.fr › swift › format captured on 2023-06-14 at 14:08:51. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

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

format package

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

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

Forge

https://codeberg.org/pfad.fr/swift

git clone

https://codeberg.org/pfad.fr/swift
git@codeberg.org:pfad.fr/swift