From: Rob Pike Date: Thu, 3 Feb 2011 19:55:33 +0000 (-0800) Subject: fmt: document %% X-Git-Tag: weekly.2011-02-15~104 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8bf0bc2754a4e168268a4d90a18f10063ab8c8c8;p=gostls13.git fmt: document %% R=rsc, gri CC=golang-dev https://golang.org/cl/4130044 --- diff --git a/src/pkg/fmt/doc.go b/src/pkg/fmt/doc.go index 03800aa47a..b717b7f279 100644 --- a/src/pkg/fmt/doc.go +++ b/src/pkg/fmt/doc.go @@ -16,6 +16,7 @@ when printing structs, the plus flag (%+v) adds field names %#v a Go-syntax representation of the value %T a Go-syntax representation of the type of the value + %% a literal percent sign; consumes no value Boolean: %t the word true or false