]> Cypherpunks repositories - gostls13.git/commit
bufio: discourage use of ReadLine
authorRuss Cox <rsc@golang.org>
Sun, 5 Aug 2012 18:32:09 +0000 (14:32 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 5 Aug 2012 18:32:09 +0000 (14:32 -0400)
commitea392b8849e886e2548246666026db5dfca929f7
treee8516d198c2781fca4734bb7d0bf728c113abe29
parentff03482fd6c38ac41835bef2dfd75f5ecc41eb1d
bufio: discourage use of ReadLine

Too many people use it without reading what it does.
Those people want ReadBytes or ReadString.

Fixes #3906.

R=golang-dev, iant, r
CC=golang-dev
https://golang.org/cl/6442087
src/pkg/bufio/bufio.go