From d39f5aa373a4422f7a5f3ee764fb0f6b0b719d61 Mon Sep 17 00:00:00 2001
From: Ondřej Surý
Date: Thu, 30 Jun 2011 15:34:22 +0200
Subject: Imported Upstream version 58
---
doc/codelab/wiki/get.go | 2 +-
doc/codelab/wiki/index.html | 2 +-
doc/codelab/wiki/wiki.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'doc/codelab')
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.
-Now that we've removed the fmt.Sprintf
statement, we can remove
+Now that we've removed the fmt.Fprintf
statement, we can remove
"fmt"
from the import
list.
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.
-Now that we've removed the fmt.Sprintf
statement, we can remove
+Now that we've removed the fmt.Fprintf
statement, we can remove
"fmt"
from the import
list.
--
cgit v1.2.3