chore: update dependencies

This commit is contained in:
2022-01-03 19:49:33 +01:00
parent 0247f58668
commit 8f528f27f3
12 changed files with 56 additions and 117 deletions

View File

@@ -263,3 +263,8 @@ func (e *Encoder) Snapshot() encoderState {
func (e *Encoder) Reset(es encoderState) {
e.encoderState = es
}
// AppendString appends the escaped form of the input string to b.
func AppendString(b []byte, s string) []byte {
return appendString(b, s, false)
}