// PipeRd is an io.Pipe helper, returns a io.ReadCloser
PipeRd is an io.Pipe helper, returns a io.ReadCloser
// PipeRd is an io . Pipe helper returns a io . ReadCloser
func PipeRd(writeFn func(io.Writer) error) io.ReadCloser {
	rd, wr := io.Pipe()
	go func() { wr.CloseWithError(writeFn(wr)) }()
	return rd
}
func PipeRd ( writeFn func ( io . Writer ) error ) io . ReadCloser { rd , wr := io . Pipe ( ) go func ( ) { wr . CloseWithError ( writeFn ( wr ) ) } ( ) return rd }
PipeRd is an io.Pipe helper, returns a io.ReadCloser
PipeRd is an io . Pipe helper returns a io . ReadCloser