diff options
author | Rob Pike <r@golang.org> | 2014-10-03 13:23:35 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2014-10-03 13:23:35 -0700 |
commit | 0a635319fc000e052bd3d6e2823b170d046e06f5 (patch) | |
tree | 9f0c82ad35a879fb1527d00d9a1568e85990d9bf /misc | |
parent | a81469cf0b101e552d1968469f528456d9d7835a (diff) | |
download | go-0a635319fc000e052bd3d6e2823b170d046e06f5.tar.gz |
fmt: part 2 of the great flag rebuild: make %+v work in formatters
Apply a similar transformation to %+v that we did to %#v, making it
a top-level setting separate from the + flag itself. This fixes the
appearance of flags in Formatters and cleans up the code too,
probably making it a little faster.
Fixes issue 8835.
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/154820043
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions