I’m reading the current implementation of io.Copy for TCPConn. It has a 
struct called tcpConnWithoutWriteTo 3 
<https://github.com/golang/go/blob/87ec2c959c73e62bfae230ef7efca11ec2a90804/src/net/net.go#L778>,
 
which will cause the WriterTo casting from a io.Reader to fail 1 
<https://github.com/golang/go/blob/e89e880eacb1aceaa14733f44c38e6748d5ffa9c/src/io/io.go#L410>.
 
How and why does it work internally?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e1d8930f-5b22-4b3b-8306-86e596242c5cn%40googlegroups.com.

Reply via email to