]> Cypherpunks repositories - gostls13.git/commit
add a %v format to print an arbitrary value in its "println" form.
authorRob Pike <r@golang.org>
Thu, 13 Nov 2008 23:20:52 +0000 (15:20 -0800)
committerRob Pike <r@golang.org>
Thu, 13 Nov 2008 23:20:52 +0000 (15:20 -0800)
commite2621b80374f74f07cd7e7c9265e2d20b242bdae
tree1e20c79c298fc2c459045870f7d73887387178d5
parente4f4ab0b8d2e221909cbf15c6867d4990f09e5a8
add a %v format to print an arbitrary value in its "println" form.
also add code to print (pointers to) arrays, through %v.

R=rsc
DELTA=108  (70 added, 33 deleted, 5 changed)
OCL=19184
CL=19192
src/lib/fmt/print.go