Rob Pike
03a93158d2
fmt: document %b for floating point
...
R=rsc
CC=golang-dev
https://golang.org/cl/4073051
2011-02-01 21:10:16 -08:00
Rob Pike
4e2218968c
fmt/doc: define width and precision for strings.
...
R=rsc
CC=golang-dev
https://golang.org/cl/4061045
2011-01-26 11:10:41 -08:00
Russ Cox
61a4e9812e
fmt: document %X of string, []byte
...
suggested by Mark Summerfield
R=r
CC=golang-dev
https://golang.org/cl/4018042
2011-01-19 13:35:45 -05:00
Rob Pike
730e39cd13
fmt: add %U format for standard Unicode representation of integer values.
...
fmt.Printf("%U", 1) yields "U+0001"
It's essentially "U+%.4x" but lets you override the precision works in scan, too.
R=rsc
CC=golang-dev
https://golang.org/cl/3423043
2010-12-06 14:23:37 -05:00
Rob Pike
fdeda13f9e
fmt: fix documentation format glitch. no content to change.
...
Fixes #1313 .
R=gri
CC=golang-dev
https://golang.org/cl/3361041
2010-11-30 14:28:33 -08:00
Rob Pike
d90d0ede3f
fmt: allow "% X" as well as "% x"
...
R=rsc, cw, PeterGo
CC=golang-dev
https://golang.org/cl/3319042
2010-11-29 07:30:36 -08:00
Rob Pike
344600f689
fmt/Printf: document and tweak error messages produced for bad formats
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/2198044
2010-09-24 11:53:26 +10:00
Anthony Martin
176364900e
fmt: support '*' for width or precision
...
R=r
CC=golang-dev
https://golang.org/cl/2237044
2010-09-22 16:10:38 +10:00
Rob Pike
6ee7997366
fmt.Fscan: use UnreadRune to preserve data across calls.
...
Fixes #1055 .
(About as well as it can be fixed without changing the API.)
R=rsc
CC=golang-dev
https://golang.org/cl/2156047
2010-09-14 11:06:17 +10:00
Rob Pike
49b19e1b39
fmt: fix typo in package comment.
...
No semantic change.
R=rsc
CC=golang-dev
https://golang.org/cl/2121041
2010-09-01 22:59:20 +10:00
Rob Pike
518df525d8
fmt: move comment into doc.go.
...
Fix the documentation of newline handling in *f routines
to match the implementation.
R=rsc
CC=golang-dev
https://golang.org/cl/1899042
2010-07-28 13:11:22 -07:00