golangのフレームワークrevelを使用してTwitterAPIを叩きます。 アプリケーションの作成 revelフレームワークでまずはアプリケーションを作成しましょう! $ revel new twitterAppそうすると$GOPAT/src/twitterAppが作成されるはずです。 ※ revelフレームワークの導入はこちらから。 revelフレームワークを入れてみる - umegusa's blog Routingの設定 まずはルーティングを設定します。 今回はこのように設定しました。 $GOPATH/src/twitterApp/conf/route GET / App.Index GET /auth Auth.Index GET /auth/callback Auth.Callback GET /show Show.Index動きとしては、 URL 動作 http://ho
![revelフレームワークを使ってTwitterAPIを叩く! - umegusa's blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/ee32f58e1956e199ed6b3e960ec2dbbc47f9938e/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fu%2Fumegusa%2F20150306%2F20150306011641.png)