unescape

package
v0.0.0-...-5ddd6bb Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// RuneError is the "error" rune or "Unicode replacement character".
	RuneError = "\uFFFD"
)

Variables

This section is empty.

Functions

func Valid

func Valid[S []byte | string, O []byte | string](str S) O

Valid returns the unescaped version of str relying on str to be valid. Don't use this function if str isn't guaranteed to contain no invalid escape sequences.

Types

This section is empty.

Jump to

Keyboard shortcuts

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