go/src/fmt
Bryan Boreham 076a45acd5 fmt: explain how Formatter interface affects verbs and flags
Formatter is mentioned further down, but it's helpful
to add it amongst the verbs and flags.

Background: I spent a while puzzling how "%+v" prints
a stack trace for github.com/pkg/errors when this isn't
documented under 'flags'.

Change-Id: Ic70145902a36780147dedca568b3cf482974fc38
GitHub-Last-Rev: 6571b499f2
GitHub-Pull-Request: golang/go#39860
Reviewed-on: https://go-review.googlesource.com/c/go/+/240000
Reviewed-by: Rob Pike <r@golang.org>
Trust: Rob Pike <r@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
2020-10-13 19:15:53 +00:00
..
doc.go fmt: explain how Formatter interface affects verbs and flags 2020-10-13 19:15:53 +00:00
errors.go fmt: fix typo in errors.go 2019-06-27 04:16:38 +00:00
errors_test.go cmd: update x/tools version to enforce only one %w 2019-09-27 21:17:15 +00:00
example_test.go fmt: fix spelling mistake in example 2019-03-25 21:03:10 +00:00
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: do not remove trailing zeros for %g and %G with #(sharp) flag 2020-02-26 08:43:57 +00:00
gostringer_example_test.go fmt: add example for GoStringer interface 2018-09-06 04:25:17 +00:00
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 fmt: add an example for Errorf 2018-08-30 19:40:13 +00:00
stringer_test.go