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:
parent
9d3db4b62e
commit
8bf0bc2754
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user