mirror of
https://github.com/golang/go
synced 2024-11-20 01:04:40 -07:00
e671a552fe
MultiWriter(w1, w2) only writes to w2 if w1.Write succeeds. I did not know this, and it was not documented. Document and test. Change-Id: Idec2e8444d5a7aca0b95d07814a28daa454eb1d3 Reviewed-on: https://go-review.googlesource.com/78123 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
ioutil | ||
example_test.go | ||
io_test.go | ||
io.go | ||
multi_test.go | ||
multi.go | ||
pipe_test.go | ||
pipe.go |