micro-client-grpc/buffer.go
2020-09-18 16:32:52 +03:00

15 lines
139 B
Go

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