Writing to multiple outputs (io.Multiwriter?)

<p>Say I want to take data coming in as a http request and simultaneously write it to multiple places (e. g. to file, to s3, to some cache etc). </p> <p>What is the best pattern in go for doing that? </p> <p>Would be nice to avoid loading the data ...阅读全文

2017-05-18 18:00:12