]> Cypherpunks repositories - gostls13.git/commit
fmt: explain how Formatter interface affects verbs and flags
authorBryan Boreham <bjboreham@gmail.com>
Mon, 12 Oct 2020 14:29:28 +0000 (14:29 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Oct 2020 19:15:53 +0000 (19:15 +0000)
commit076a45acd5b8d2ce08a2dbe898dc9228554db92d
tree373febf6a186ba4989d73db79f907a27578e9e7f
parente08059f4fcacce2ff18d1cfc5fa48c942f8d46aa
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: 6571b499f211a2266812af66dd3b88dff602cabf
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>
src/fmt/doc.go
src/fmt/print.go