1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:08:02 -07:00

fmt: document %%

R=rsc, gri
CC=golang-dev
https://golang.org/cl/4130044
This commit is contained in:
Rob Pike 2011-02-03 11:55:33 -08:00
parent 9d3db4b62e
commit 8bf0bc2754

View File

@ -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