News for hackers. Stuff that matters.
Re:Stunned by Go by xinn on Wednesday July 17, 2013 @07:18PM (#6060669)
This behavior is explicitly defined in the godoc for io. I don’t see why the author should be "stunned" by a function doing exactly what it says it does.
Re:Stunned by Go by nwp90 on Wednesday July 17, 2013 @08:23PM (#6060916)
That'll be because it's only been in the docs since they reported their issue.
Re:Stunned by Go by thirsteh on Wednesday July 17, 2013 @10:28PM (#6061421)
You're both correct. It's been in the docs for io.Copy for a long time, and was only recently added to the http docs.