unicorn

package
v0.0.0-...-ed7c31d Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsSpace = unicode.IsSpace

Functions

func AllRunes

func AllRunes(bites []byte) interfaces.Seq[rune]

func AllRunesWithIndex

func AllRunesWithIndex(bites []byte) interfaces.Seq2[int, rune]

func CountCase

func CountCase(bites []byte) (lower, neither, upper int)

func CountRune

func CountRune(b []byte, r rune) (c int)

func CutNCharacters

func CutNCharacters(data []byte, n int) ([]byte, []byte)

func ExtractUniqueComponents

func ExtractUniqueComponents(lines []string) []string

func Not

func Not(f func(rune) bool) func(rune) bool

func StripDiacritics

func StripDiacritics(s string) string

func ToLower

func ToLower(bites []byte)

func ToUpper

func ToUpper(bites []byte)

Types

This section is empty.

Source Files

  • case.go
  • diacritics.go
  • main.go
  • tokenize.go

Jump to

Keyboard shortcuts

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