Commit 8bf0bc27 authored by Rob Pike's avatar Rob Pike

fmt: document %%

R=rsc, gri
CC=golang-dev
https://golang.org/cl/4130044
parent 9d3db4b6
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
when printing structs, the plus flag (%+v) adds field names when printing structs, the plus flag (%+v) adds field names
%#v a Go-syntax representation of the value %#v a Go-syntax representation of the value
%T a Go-syntax representation of the type of the value %T a Go-syntax representation of the type of the value
%% a literal percent sign; consumes no value
Boolean: Boolean:
%t the word true or false %t the word true or false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment