micro-server-http/buffer.go

15 lines
139 B
Go
Raw Normal View History

2018-12-19 10:33:23 +03:00
package http
import (
"bytes"
)
type buffer struct {
*bytes.Buffer
}
func (b *buffer) Close() error {
b.Buffer.Reset()
return nil
}