From 30fe7a7003543d6d3c7d67904a9737aa932f771c Mon Sep 17 00:00:00 2001 From: sanshan Date: Sun, 13 Aug 2017 14:14:15 +0800 Subject: [PATCH] =?UTF-8?q?http://twitter.com/users/Googland.json=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E5=AD=98=E5=9C=A8=E4=BA=86=20(#393)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://twitter.com/users/Googland.json页面不存在了 --- eBook/exercises/chapter_15/twitter_status_json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eBook/exercises/chapter_15/twitter_status_json.go b/eBook/exercises/chapter_15/twitter_status_json.go index e285670..91591b3 100755 --- a/eBook/exercises/chapter_15/twitter_status_json.go +++ b/eBook/exercises/chapter_15/twitter_status_json.go @@ -18,7 +18,7 @@ type User struct { func main() { /* perform an HTTP request for the twitter status of user: Googland */ - res, _ := http.Get("http://twitter.com/users/Googland.json") + res, _ := http.Get("http://twitter.com/users/Googland.json")/*http://twitter.com/users/Googland.json页面不存在了*/ /* initialize the structure of the JSON response */ user := User{Status{""}} /* unmarshal the JSON into our structures */