]> Cypherpunks repositories - gostls13.git/commit
[release-branch.r60] gofix: do not convert url in field names
authorAndrew Gerrand <adg@golang.org>
Thu, 8 Sep 2011 00:52:28 +0000 (10:52 +1000)
committerAndrew Gerrand <adg@golang.org>
Thu, 8 Sep 2011 00:52:28 +0000 (10:52 +1000)
commit616801951bd8ed946acc70ea80c1d1c8e29c03b8
treedd5d733af8606b61072b0ffacea536c30d2dcc51
parente84d4effa1f80c526ac4f5462038d94a050443b1
[release-branch.r60] gofix: do not convert url in field names

««« CL 4972052 / 0f7a647510f9
gofix: do not convert url in field names

There's some ambiguity in the U{url: url} case as it could be
both a map or a struct literal, but given context it's more
likely a struct, so U{url: url_} rather than U{url_: url_}.
At least that was the case for me.

R=golang-dev, rsc, adg
CC=golang-dev
https://golang.org/cl/4972052
»»»

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4962058
src/cmd/gofix/url.go
src/cmd/gofix/url_test.go