go/src/fmt
Branden J Brown 7406180012 fmt: split package documentation into more sections
The package-level documentation on fmt previously had only two formal
sections, for printing and scanning. Because of this, the section on
printing was very long, including some pseudo-sections describing
particular features. This feature makes those pseudo-sections into
proper sections, both to improve readability and so that those sections
have hyperlinks on documentation sites.

Fixes #46522

Change-Id: I38b7bc3447610faca446051da235edcbbd063f61
Reviewed-on: https://go-review.googlesource.com/c/go/+/324349
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
2021-06-07 15:17:48 +00:00
..
doc.go fmt: split package documentation into more sections 2021-06-07 15:17:48 +00:00
errors.go
errors_test.go
example_test.go
export_test.go
fmt_test.go fmt: avoid badverb formatting for %q when used with integers 2020-08-17 04:55:28 +00:00
format.go fmt: use “truncateString” not “truncate” in method doc 2021-03-13 18:02:24 +00:00
gostringer_example_test.go
print.go fmt: explain how Formatter interface affects verbs and flags 2020-10-13 19:15:53 +00:00
scan.go all: avoid string(i) where i has type int 2020-02-26 04:38:19 +00:00
scan_test.go fmt: fix handling of %% verb in Scanf 2019-10-25 04:15:59 +00:00
stringer_example_test.go
stringer_test.go