最近また Google App Engine をやっている。 cloud.google.com できるだけ面倒なことはしたくないんだけど、作ろうとしているものの性質上、ログイン機能は外せず...。。『Go言語によるWebアプリケーション開発』の学習でも使った stretchr/gomniauth を使って同じように実装してみると、http.DefaultTransport and http.DefaultClient are not available in App Engine. See https://cloud.google.com/appengine/docs/go/urlfetch/ といったエラーが。urlfetch ... あー。 GAEから外部APIへリクエストをするためには、専用パッケージである urlfetch を使う必要がある。 自分で実装してる部分の話なら素直に u
![GAE/Go で gomniauth を使う - えいのうにっき](https://cdn-ak-scissors.b.st-hatena.com/image/square/5f17f8a4f78bcf5ca9f432b577d0e6be4d50b07f/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fa%2Fa-know%2F20170820%2F20170820235752.jpg)