]> Cypherpunks repositories - gostls13.git/commit
bufio: add ReadLine
authorAdam Langley <agl@golang.org>
Wed, 13 Apr 2011 19:12:28 +0000 (15:12 -0400)
committerAdam Langley <agl@golang.org>
Wed, 13 Apr 2011 19:12:28 +0000 (15:12 -0400)
commit6392fc75cf5d51f69f9e353da81c84e488dbf629
treeb7ef4e1c9bc44297d7849c1a6f1d9169f09906d3
parent0be2ef3fc474f2716bf60114ddd2a0b481970460
bufio: add ReadLine

It matches encoding/line exactly and the tests are copied from there.
If we land this, then encoding/line will get marked as deprecated then
deleted in time.

R=rsc, rog, peterGo
CC=golang-dev
https://golang.org/cl/4389046
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go
src/pkg/crypto/openpgp/armor/armor.go
src/pkg/http/cgi/host.go