escape

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Codes = map[byte][]byte{
		',': []byte(`\,`),
		'"': []byte(`\"`),
		' ': []byte(`\ `),
		'=': []byte(`\=`),
	}
)

Functions

func AppendUnescaped added in v1.1.0

func AppendUnescaped(dst, src []byte) []byte

func Bytes

func Bytes(in []byte) []byte

func IsEscaped added in v1.1.0

func IsEscaped(b []byte) bool

func String

func String(in string) string

func Unescape

func Unescape(in []byte) []byte

func UnescapeString

func UnescapeString(in string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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