|
url: new package
This is just moving the URL code from package http into its own package,
which has been planned for a while.
Besides clarity, this also breaks a nascent dependency cycle the new template
package was about to introduce.
Add a gofix module, url, and use it to generate changes outside http and url.
Sadness about the churn, gladness about some of the naming improvements.
Total comments: 13
Total comments: 10
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+556 lines, -282 lines) |
Patch |
|
M |
misc/dashboard/builder/http.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/cmd/godoc/main.go
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/cmd/gofix/Makefile
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
src/cmd/gofix/url.go
|
View
|
1
2
3
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/cmd/gofix/url_test.go
|
View
|
1
2
3
4
|
1 chunk |
+147 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/pkg/Makefile
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/pkg/exp/template/funcs.go
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/Makefile
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/http/cgi/child.go
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/cgi/host.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/http/client.go
|
View
|
|
7 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/client_test.go
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/fs_test.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/http/readrequest_test.go
|
View
|
|
7 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/request.go
|
View
|
1
2
|
9 chunks |
+27 lines, -89 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/request_test.go
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/requestwrite_test.go
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/reverseproxy.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/http/reverseproxy_test.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/http/serve_test.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/http/server.go
|
View
|
1
|
3 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/transport.go
|
View
|
1
2
|
7 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/pkg/http/transport_test.go
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/pkg/url/Makefile
|
View
|
|
1 chunk |
+1 line, -17 lines |
0 comments
|
Download
|
|
M |
src/pkg/url/url.go
|
View
|
1
|
15 chunks |
+127 lines, -56 lines |
0 comments
|
Download
|
|
M |
src/pkg/url/url_test.go
|
View
|
1
|
10 chunks |
+47 lines, -47 lines |
0 comments
|
Download
|
|
M |
src/pkg/websocket/client.go
|
View
|
1
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/pkg/websocket/websocket_test.go
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 22
|