micro-client-http/buffer.go

15 lines
139 B
Go
Raw Normal View History

2017-01-01 21:39:05 +03:00
package http
import (
"bytes"
)
type buffer struct {
*bytes.Buffer
}
func (b *buffer) Close() error {
b.Buffer.Reset()
return nil
}