// PipeWr is an io.Pipe helper, returns a io.WriteCloser
PipeWr is an io.Pipe helper, returns a io.WriteCloser
// PipeWr is an io . Pipe helper returns a io . WriteCloser
func PipeWr(readerFn func(io.Reader) error) io.WriteCloser {
	rd, wr := io.Pipe()
	go func() { rd.CloseWithError(readerFn(rd)) }()
	return wr
}
func PipeWr ( readerFn func ( io . Reader ) error ) io . WriteCloser { rd , wr := io . Pipe ( ) go func ( ) { rd . CloseWithError ( readerFn ( rd ) ) } ( ) return wr }
PipeWr is an io.Pipe helper, returns a io.WriteCloser
PipeWr is an io . Pipe helper returns a io . WriteCloser