]> Cypherpunks repositories - gostls13.git/commit
gofix: do not convert url in field names
authorGustavo Niemeyer <gustavo@niemeyer.net>
Sat, 3 Sep 2011 19:01:54 +0000 (16:01 -0300)
committerGustavo Niemeyer <gustavo@niemeyer.net>
Sat, 3 Sep 2011 19:01:54 +0000 (16:01 -0300)
commitc5670f15488843ebd368f4f3fff417cc7acdd178
treecec9ae515a022e64d3122e0494ce9ad70fde809e
parent9b011500c0b93951b0618c06be1b9d2d78ab374e
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
src/cmd/gofix/url.go
src/cmd/gofix/url_test.go