]> Cypherpunks repositories - gostls13.git/commit
url: new package
authorRob Pike <r@golang.org>
Wed, 17 Aug 2011 03:36:02 +0000 (13:36 +1000)
committerRob Pike <r@golang.org>
Wed, 17 Aug 2011 03:36:02 +0000 (13:36 +1000)
commit1d8f822c170891ac72e85020178c27aded27c644
treeffe1889bd493631230b81af12d5efc8569ce6517
parentd72c96df2a4f9b1b6b83cd7be55b4e53ac3a3c9c
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.

R=dsymonds, bradfitz, rsc, gustavo, r
CC=golang-dev
https://golang.org/cl/4893043
28 files changed:
misc/dashboard/builder/http.go
src/cmd/godoc/main.go
src/cmd/gofix/Makefile
src/cmd/gofix/url.go [new file with mode: 0644]
src/cmd/gofix/url_test.go [new file with mode: 0644]
src/pkg/Makefile
src/pkg/exp/template/funcs.go
src/pkg/http/Makefile
src/pkg/http/cgi/child.go
src/pkg/http/cgi/host.go
src/pkg/http/client.go
src/pkg/http/client_test.go
src/pkg/http/fs_test.go
src/pkg/http/readrequest_test.go
src/pkg/http/request.go
src/pkg/http/request_test.go
src/pkg/http/requestwrite_test.go
src/pkg/http/reverseproxy.go
src/pkg/http/reverseproxy_test.go
src/pkg/http/serve_test.go
src/pkg/http/server.go
src/pkg/http/transport.go
src/pkg/http/transport_test.go
src/pkg/url/Makefile [new file with mode: 0644]
src/pkg/url/url.go [moved from src/pkg/http/url.go with 75% similarity]
src/pkg/url/url_test.go [moved from src/pkg/http/url_test.go with 87% similarity]
src/pkg/websocket/client.go
src/pkg/websocket/websocket_test.go