Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeChannels ¶
func MergeChannels[T any](channels []<-chan T) <-chan T
Types ¶
type BytesWriteCloser ¶
type BytesWriteCloser struct {
// contains filtered or unexported fields
}
BytesWriteCloser implements io.WriteCloser for bytes.Buffer
func NewBytesWriteCloser ¶
func NewBytesWriteCloser(p []byte) *BytesWriteCloser
NewBytesWriteCloser returns io.WriteCloser for []bytes
func (*BytesWriteCloser) Buffer ¶
func (w *BytesWriteCloser) Buffer() *bytes.Buffer
Buffer returns buffer with data.
func (*BytesWriteCloser) Close ¶
func (w *BytesWriteCloser) Close() error
Close implements .Close() method for io.WriterCloser
Click to show internal directories.
Click to hide internal directories.