unicode

package
v0.0.0-...-fab57c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package unicode provides a mockable wrapper for unicode.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) In

func (*Impl) In(r rune, ranges ...*unicode.RangeTable) bool

func (*Impl) Is

func (*Impl) Is(rangeTab *unicode.RangeTable, r rune) bool

func (*Impl) IsControl

func (*Impl) IsControl(r rune) bool

func (*Impl) IsDigit

func (*Impl) IsDigit(r rune) bool

func (*Impl) IsGraphic

func (*Impl) IsGraphic(r rune) bool

func (*Impl) IsLetter

func (*Impl) IsLetter(r rune) bool

func (*Impl) IsLower

func (*Impl) IsLower(r rune) bool

func (*Impl) IsMark

func (*Impl) IsMark(r rune) bool

func (*Impl) IsNumber

func (*Impl) IsNumber(r rune) bool

func (*Impl) IsOneOf

func (*Impl) IsOneOf(ranges []*unicode.RangeTable, r rune) bool

func (*Impl) IsPrint

func (*Impl) IsPrint(r rune) bool

func (*Impl) IsPunct

func (*Impl) IsPunct(r rune) bool

func (*Impl) IsSpace

func (*Impl) IsSpace(r rune) bool

func (*Impl) IsSymbol

func (*Impl) IsSymbol(r rune) bool

func (*Impl) IsTitle

func (*Impl) IsTitle(r rune) bool

func (*Impl) IsUpper

func (*Impl) IsUpper(r rune) bool

func (*Impl) SimpleFold

func (*Impl) SimpleFold(r rune) rune

func (*Impl) To

func (*Impl) To(_case int, r rune) rune

func (*Impl) ToLower

func (*Impl) ToLower(r rune) rune

func (*Impl) ToTitle

func (*Impl) ToTitle(r rune) rune

func (*Impl) ToUpper

func (*Impl) ToUpper(r rune) rune

type Interface

type Interface interface {
	In(r rune, ranges ...*unicode.RangeTable) bool
	Is(rangeTab *unicode.RangeTable, r rune) bool
	IsControl(r rune) bool
	IsDigit(r rune) bool
	IsGraphic(r rune) bool
	IsLetter(r rune) bool
	IsLower(r rune) bool
	IsMark(r rune) bool
	IsNumber(r rune) bool
	IsOneOf(ranges []*unicode.RangeTable, r rune) bool
	IsPrint(r rune) bool
	IsPunct(r rune) bool
	IsSpace(r rune) bool
	IsSymbol(r rune) bool
	IsTitle(r rune) bool
	IsUpper(r rune) bool
	SimpleFold(r rune) rune
	To(_case int, r rune) rune
	ToLower(r rune) rune
	ToTitle(r rune) rune
	ToUpper(r rune) rune
}

Directories

Path Synopsis
Package utf16 provides a mockable wrapper for unicode/utf16.
Package utf16 provides a mockable wrapper for unicode/utf16.
Package utf8 provides a mockable wrapper for unicode/utf8.
Package utf8 provides a mockable wrapper for unicode/utf8.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL