]> Cypherpunks repositories - gostls13.git/commit
io: flatten MultiWriter writers
authorMichael Fraenkel <michael.fraenkel@gmail.com>
Wed, 25 Oct 2017 16:42:14 +0000 (12:42 -0400)
committerIan Lance Taylor <iant@golang.org>
Wed, 25 Oct 2017 21:48:50 +0000 (21:48 +0000)
commit060d1a57401180bc003c0d882033b35ca19374a2
tree73529b0e7927f503515b126ab5fc87840d3de615
parentb4e207d71858bfd491f2baaf66777e31b6eb9ca2
io: flatten MultiWriter writers

Replace any nested Writer that is a MultiWriter with its associated
Writers.

Fixes #22431

Change-Id: Ida7c4c83926363c1780689e216cf0c5241a5b8eb
Reviewed-on: https://go-review.googlesource.com/73470
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/io/multi.go
src/io/multi_test.go