micro-server-http/buffer.go
2020-10-09 18:12:47 +03:00

15 lines
139 B
Go

package http
import (
"bytes"
)
type buffer struct {
*bytes.Buffer
}
func (b *buffer) Close() error {
b.Buffer.Reset()
return nil
}