summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/godoc.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-11-07 13:01:52 -0800
committerRobert Griesemer <gri@golang.org>2009-11-07 13:01:52 -0800
commit5189ea90c09777ac51fc5e8d6e679d955b0a757d (patch)
tree94bf2370b45c4f399a39bf70dac1325e66780a91 /src/cmd/godoc/godoc.go
parent9ab8ec4fce82370ad7c8859d109ccf2d9b9f2a9f (diff)
downloadgolang-5189ea90c09777ac51fc5e8d6e679d955b0a757d.tar.gz
- blank before opening { for multi-line composite literals (as preferred by r)
- blank padding around composite literal contents for a less dense look (most if not all composite literals were written in that style before gofmt ran through them) - corresponding (internal) flag: compositeLitBlank - don't print a semi after a one-statement statement list (as preferred by r) - corresponding (internal flag): fewerSemis - the number of changes in nodes.go is huge because of the removed semis; hg mail requires that I gofmt the file before With both flags set to false, this CL causes no gofmt formatting change. We can turn them on if we like it (and then remove the flags). Will submit with flags disabled. R=rsc, r http://go/go-review/1025015
Diffstat (limited to 'src/cmd/godoc/godoc.go')
0 files changed, 0 insertions, 0 deletions