otiai10/twistream · GitHub 練習をかねてつくったよ
The very simplest interface to use Twitter Streaming API by golang.
timeline, _ := twistream.New( "https://userstream.twitter.com/1.1/user.json", CONSUMERKEY, CONSUMERSECRET, ACCESSTOKEN, ACCESSTOKENSECRET, ) for { status := <-timeline.Listen() fmt.Println(status) }
That's all :)