diff options
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> |