]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: remove an errant space
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Feb 2012 03:10:36 +0000 (14:10 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Feb 2012 03:10:36 +0000 (14:10 +1100)
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

src/pkg/net/http/doc.go

index 8962ed31e6a31b36fa0d79e9c666314a13bd4203..652d729e0844833ce2d729eb0cd9dd6a7e01b291 100644 (file)
@@ -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: