build: upgrade dependencies

This commit is contained in:
2021-12-24 16:53:47 +01:00
parent 50b3b0dac0
commit 9d07f2f0b8
32 changed files with 667 additions and 211 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)
}