💾 Archived View for godocs.io › net › http › internal › ascii captured on 2023-12-28 at 18:33:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 View Differences

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

package ascii - net/http/internal/ascii - godocs.io

import "net/http/internal/ascii"

Functions

func EqualFold

func EqualFold(s, t string) bool

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

func Is

func Is(s string) bool

Is returns whether s is ASCII.

func 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.

func ToLower

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

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

Details

Version: v1.21.5 (latest)

Platform: linux/amd64

Imports: 2 packages

Refresh now

Back to home

Search