Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

ascii

v0.0.5
github.com/3JoB/nhtp/internal/ascii

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

5 matches

Top ↑

Functions

EqualFold

func EqualFold(s, t string) bool

EqualFold is strings.EqualFold, ASCII only. It reports whether s and t are equal, ASCII-case-insensitively.

Is

func Is(s string) bool

Is returns whether s is ASCII.

IsPrint

func IsPrint(s string) bool

IsPrint returns whether s is ASCII and printable according to https://tools.ietf.org/html/rfc20#section-4.2.

ToLower

func ToLower(s string) (lower string, ok bool)

ToLower returns the lowercase version of s if s is ASCII and printable.

Dependency graph