This commit is contained in:
Aliaksandr Valialkin
2015-12-09 16:36:16 +02:00
parent 1a06baebe3
commit e0225d4c98
+1 -1
View File
@@ -21,7 +21,7 @@ type StreamWriter func(w *bufio.Writer)
//
// The returned reader may be passed to Response.SetBodyStream.
//
// See also Response.SetBodyWriter.
// See also Response.SetBodyStreamWriter.
func NewStreamReader(sw StreamWriter) io.Reader {
pr, pw := io.Pipe()