diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2012-02-09 14:10:36 +1100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2012-02-09 14:10:36 +1100 |
| commit | 3484d5462d27660fb6e85f290e7dd24fcafa99b9 (patch) | |
| tree | 259061b4a897e0b8b3a8429c421324b96be2023a /src | |
| parent | e7bd71c83af94143b2a218c362c081c058e84a70 (diff) | |
| download | go-3484d5462d27660fb6e85f290e7dd24fcafa99b9.tar.xz | |
net/http: remove an errant space
Made the godoc overview section oddly indented
compared to the other code blocks.
R=golang-dev, mikioh.mikioh, dsymonds, r
CC=golang-dev
https://golang.org/cl/5645060
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/net/http/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/http/doc.go b/src/pkg/net/http/doc.go index 8962ed31e6..652d729e08 100644 --- a/src/pkg/net/http/doc.go +++ b/src/pkg/net/http/doc.go @@ -12,7 +12,7 @@ Get, Head, Post, and PostForm make HTTP requests: resp, err := http.Post("http://example.com/upload", "image/jpeg", &buf) ... resp, err := http.PostForm("http://example.com/form", - url.Values{"key": {"Value"}, "id": {"123"}}) + url.Values{"key": {"Value"}, "id": {"123"}}) The client must close the response body when finished with it: |
