]> Cypherpunks repositories - gostls13.git/commit
fmt: print &map like &slice and &struct
authorRob Pike <r@golang.org>
Sat, 4 Oct 2014 03:27:08 +0000 (20:27 -0700)
committerRob Pike <r@golang.org>
Sat, 4 Oct 2014 03:27:08 +0000 (20:27 -0700)
commita0c5adc35cbfe071786b6115d63abc7ad90578a9
treec071e5fe16ccb0b4ab17e20eb5c25c1a94b44a5b
parent668ea79283735b35d5234d0b4c4e9f87ce0615d1
fmt: print &map like &slice and &struct
It was inconsistent.
Also test these better.
Also document the default format for types.
This wasn't written down.

Fixes #8470.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/154870043
src/fmt/doc.go
src/fmt/fmt_test.go
src/fmt/print.go