Debian Codegraph @

internal/encoder/escape_control.go

raw
1 //go:build go1.22
2
3 package encoder
4
5 // backspaceEscape and formFeedEscape are the escapes of the backspace and the form feed: encoding/json since Go
6 // 1.22 writes them as \b and \f.
7 const (
8 backspaceEscape = `\b`
9 formFeedEscape = `\f`
10 )