]> Cypherpunks repositories - gostls13.git/commit
print field names on struct members.
authorRuss Cox <rsc@golang.org>
Fri, 12 Dec 2008 00:53:33 +0000 (16:53 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 12 Dec 2008 00:53:33 +0000 (16:53 -0800)
commitbf67afc84e456e03e5ca14e2e4039497b36051ec
treea03842a7b54412a126054a732637a1921db7f48c
parentc7ab3327442ab0a597f0efa7b6a5b465aec28744
print field names on struct members.
also don't concatenate strings next
to each other in the struct,
like p.doprint does.

expose additional print flags to formatters

R=r
DELTA=128  (111 added, 11 deleted, 6 changed)
OCL=20991
CL=21018
src/lib/fmt/fmt_test.go
src/lib/fmt/format.go
src/lib/fmt/print.go