1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00
go/src/fmt
Rob Pike c5a8d1d2f9 fmt: add a package-level example illustrating basic formats
There is much left out here—the space of possibilities is very
large—but this example shows all that most programmers will need
to know for most printing problems.

Update #27554.

Change-Id: Ib6ae651d5c3720cf7fe1a05ffd0859a5b56a9157
Reviewed-on: https://go-review.googlesource.com/136616
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-09-24 21:02:01 +00:00
..
doc.go strconv: clarify "g" and "G" precision in the docs 2018-08-01 00:57:00 +00:00
example_test.go fmt: add a package-level example illustrating basic formats 2018-09-24 21:02:01 +00:00
export_test.go fmt: add tests for parsenum 2016-10-04 21:00:35 +00:00
fmt_test.go fmt: fix incorrect format of whole-number floats when using %#v 2018-08-28 20:15:15 +00:00
format.go fmt: fix incorrect format of whole-number floats when using %#v 2018-08-28 20:15:15 +00:00
gostringer_example_test.go fmt: add example for GoStringer interface 2018-09-06 04:25:17 +00:00
print.go fmt: fix usage of sync.Pool 2018-09-19 18:01:04 +00:00
scan_test.go fmt: document and adjust Scanf space handling to eliminate a few paradoxes 2016-10-07 03:46:50 +00:00
scan.go fmt: remove stopAtNewline unused parameter 2017-08-11 04:56:58 +00:00
stringer_example_test.go fmt: add an example for Errorf 2018-08-30 19:40:13 +00:00
stringer_test.go