diff --git a/common/alloc/buffer.go b/common/alloc/buffer.go index b3a8ead9..ed0872b8 100644 --- a/common/alloc/buffer.go +++ b/common/alloc/buffer.go @@ -50,6 +50,7 @@ func (b *Buffer) Append(data []byte) *Buffer { return b } +// AppendString appends a given string to the end of the buffer. func (b *Buffer) AppendString(s string) *Buffer { b.Value = append(b.Value, s...) return b