]> Cypherpunks repositories - gostls13.git/commit
fmt: split package documentation into more sections
authorBranden J Brown <zephyrtronium@gmail.com>
Wed, 2 Jun 2021 18:55:34 +0000 (14:55 -0400)
committerDmitri Shuralyov <dmitshur@golang.org>
Mon, 7 Jun 2021 15:17:48 +0000 (15:17 +0000)
commit7406180012d828f536112c9bffb7d3edd9ea5c7e
treead255fe4a2bdf81eec8623987122b41289e7c5db
parente3176bbc3ec7ab3889f02432f6fd088c90fc12dd
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>
src/fmt/doc.go