io: unexport internal methods
io: unexport internal methods

The methods on the pipe type don't need to be exported. Doing so sets
a bad precedent that it's OK to export methods to indicate an internal
public API.  That's not a good idea in general, because exported methods
increase cognitive load when reading code: the reader needs to consider
whether the exported method might be used via some external interface
or reflection.

Change-Id: Ib13f1b3f9fe0ff251628f31b776182a0953268ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/341409
Reviewed-by: Daniel Martí <29bf28b42a938ace12a5819da4ed4ba03d82f315@mvdan.cc>
Reviewed-by: Joe Tsai <7277d7402195d5c2006c89f45718cf82bb3e527f@gmail.com>
Reviewed-by: Joe Tsai <ad9e03fbec35106ba742f446a098eef3d5e31d20@digital-static.net>
Trust: Daniel Martí <29bf28b42a938ace12a5819da4ed4ba03d82f315@mvdan.cc>

CAFxX/go,golang/go,golang/go,CAFxX/go,nawawi/go,nawawi/go,cloudflare/go,CAFxX/go,cloudflare/go,golang/go,cloudflare/go,nawawi/go,nawawi/go,CAFxX/go,CAFxX/go,cloudflare/go,nawawi/go,CAFxX/go,cloudflare/go,CAFxX/go,golang/go,golang/go,cloudflare/go,cloudflare/go,cloudflare/go,golang/go,golang/go,golang/go,nawawi/go,nawawi/go,CAFxX/go,nawawi/go