diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-06-30 15:34:22 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-06-30 15:34:22 +0200 |
commit | d39f5aa373a4422f7a5f3ee764fb0f6b0b719d61 (patch) | |
tree | 1833f8b72a4b3a8f00d0d143b079a8fcad01c6ae /doc/codelab/wiki | |
parent | 8652e6c371b8905498d3d314491d36c58d5f68d5 (diff) | |
download | golang-upstream/58.tar.gz |
Imported Upstream version 58upstream/58
Diffstat (limited to 'doc/codelab/wiki')
-rw-r--r-- | doc/codelab/wiki/get.go | 2 | ||||
-rw-r--r-- | doc/codelab/wiki/index.html | 2 | ||||
-rw-r--r-- | doc/codelab/wiki/wiki.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/codelab/wiki/get.go b/doc/codelab/wiki/get.go index 342831416..c36684e3e 100644 --- a/doc/codelab/wiki/get.go +++ b/doc/codelab/wiki/get.go @@ -37,7 +37,7 @@ func main() { b := strings.NewReader(*post) r, err = http.Post(url, "application/x-www-form-urlencoded", b) } else { - r, _, err = http.Get(url) + r, err = http.Get(url) } if err != nil { log.Fatal(err) diff --git a/doc/codelab/wiki/index.html b/doc/codelab/wiki/index.html index d059fa027..cc187ad90 100644 --- a/doc/codelab/wiki/index.html +++ b/doc/codelab/wiki/index.html @@ -501,7 +501,7 @@ This will prevent user data from corrupting the form HTML. </p> <p> -Now that we've removed the <code>fmt.Sprintf</code> statement, we can remove +Now that we've removed the <code>fmt.Fprintf</code> statement, we can remove <code>"fmt"</code> from the <code>import</code> list. </p> diff --git a/doc/codelab/wiki/wiki.html b/doc/codelab/wiki/wiki.html index 3628eeb56..4db880b9d 100644 --- a/doc/codelab/wiki/wiki.html +++ b/doc/codelab/wiki/wiki.html @@ -428,7 +428,7 @@ This will prevent user data from corrupting the form HTML. </p> <p> -Now that we've removed the <code>fmt.Sprintf</code> statement, we can remove +Now that we've removed the <code>fmt.Fprintf</code> statement, we can remove <code>"fmt"</code> from the <code>import</code> list. </p> |