go/src/io
Eric 240eac38e1 io: simplify Examples
- CopyN: 5 creates ambiguity with respect to whitespace and upperbound
- TeeReader less boilerplate and displays a common usage of it
- SectionReader_* all sections unified to 5:17 for clarity
- SectionReader_Seek uses io.Copy to stdout like other examples
- Seeker_Seek remove useless prints
- Pipe print reader like other examples

Updates #36417

Change-Id: Ibd01761d5a5786cdb1ea934f7a98f8302430c8a5
GitHub-Last-Rev: 4c17f9a8e3
GitHub-Pull-Request: golang/go#38379
Reviewed-on: https://go-review.googlesource.com/c/go/+/227868
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-04-13 22:48:16 +00:00
..
ioutil testing: add TB.TempDir 2020-04-02 22:13:55 +00:00
example_test.go io: simplify Examples 2020-04-13 22:48:16 +00:00
io.go io: add a comment about how to turn a Reader into ByteReader 2020-03-12 01:31:41 +00:00
io_test.go io: check n in testReadAtLeast 2020-02-21 18:36:11 +00:00
multi.go
multi_test.go all: fix a number of misuses of the word "an" 2019-12-10 16:23:10 +00:00
pipe.go
pipe_test.go