-
Roger Peppe authored
Add a new Read method to ScanState so that it satisfies the io.Reader interface; rename Getrune and Ungetrune to ReadRune and UnreadRune. Make sure ReadRune does not read past width restrictions; remove now-unnecessary Width method from ScanState. Also make the documentation a little clearer as to how ReadRune and UnreadRune are used. R=r, r2 CC=golang-dev https://golang.org/cl/4240056
81bfbe93
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
doc.go | ||
fmt_test.go | ||
format.go | ||
print.go | ||
scan.go | ||
scan_test.go | ||
stringer_test.go |