Upgrade to Pro — share decks privately, control downloads, hide ads and more …

API Server made of Golang

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

API Server made of Golang

Avatar for shanonim

shanonim

April 23, 2017
Tweet

More Decks by shanonim

Other Decks in Technology

Transcript

  1. - Google Map - 銭湯の位置にPinを置く - Pin情報をAPIで返す - 名前 (string)

    - 場所 (string) - 営業時間 (string) - サウナ有り無し (bool)
  2. How to build API Server with Golang - httprouter -

    https://github.com/julienschmidt/httprouter - HTTP request router - `go get github.com/julienschmidt/httprouter`
  3. z

  4. 詰んだポイント (1/2) - IntelliJでGolang - 外部ライブラリをgo getしても補完候補に出てくれない問題 - (Qiita) go

    getしたライブラリをIntelliJ IDEAの補完候補に追加するには - http://qiita.com/grapswiz/items/e1da3181e9a3c7681ba2 - .bashrcにGOPATH書いたら解決した - :innocent:
  5. 詰んだポイント (2/2) - Package分けたらRunできなくなった - GOPATH/srcにProjectフォルダを移動したら治った - (stackoverflow) GO in

    IntelliJ IDEA. Multiple File and Error Undefined: Data - http://stackoverflow.com/questions/32508254/go-in-intellij-idea-multiple-file-and-err or-undefined-data - Run kind -> Package
  6. ToDo - API Server on the GAE - Not yet

    - Get JSON with Android App - Not yet
  7. 合宿中に読んだ資料 - 「メルカリ アッテ」を支える Google App Engine と Golang -

    https://speakerdeck.com/ttsuruoka/merukari-atute-wozhi-eru-google-app-engine-to-golang - Go で API サーバーを開発してきて 1年が過ぎました - http://aial.shiroyagi.co.jp/2016/07/golang-api-server-developing/ - GoでJSON APIを書く - http://sgykfjsm.github.io/blog/2016/03/13/golang-json-api-tutorial/