1
0
mirror of https://github.com/golang/go synced 2024-11-22 07:34:40 -07:00
go/misc/dashboard/builder
Brad Fitzpatrick 05a1b7ec41 http: remove finalURL from Client.Get; move to Response
This CL:

-- removes Response.RequestMethod string
-- adds Response.Request *Request
-- removes the finalURL result parameter from client.Get()
-- adds a gofix rule for callers of http.Get which assign
   the final url to the blank identifier; warning otherwise

Caller who did:

res, finalURL, err := http.Get(...)

now need to do:

res, err := http.Get(...)
if err != nil {
   ...
}
finalURL := res.Request.URL.String()

R=rsc
CC=golang-dev
https://golang.org/cl/4535056
2011-05-13 07:31:24 -07:00
..
doc.go dashboard: fix for branches 2011-05-12 11:21:34 -04:00
exec.go dashboard: fix for branches 2011-05-12 11:21:34 -04:00
http.go http: remove finalURL from Client.Get; move to Response 2011-05-13 07:31:24 -07:00
main.go dashboard: fix for branches 2011-05-12 11:21:34 -04:00
Makefile dashboard: fix for branches 2011-05-12 11:21:34 -04:00
package.go dashboard: fix for branches 2011-05-12 11:21:34 -04:00