mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 07:23:28 +08:00
http://twitter.com/users/Googland.json页面不存在了
This commit is contained in:
@@ -18,7 +18,7 @@ type User struct {
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
/* perform an HTTP request for the twitter status of user: Googland */
|
/* 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 */
|
/* initialize the structure of the JSON response */
|
||||||
user := User{Status{""}}
|
user := User{Status{""}}
|
||||||
/* unmarshal the JSON into our structures */
|
/* unmarshal the JSON into our structures */
|
||||||
|
Reference in New Issue
Block a user