Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
API Server made of Golang
Search
shanonim
April 23, 2017
Technology
0
950
API Server made of Golang
2017.04.23
Go合宿2017
https://go-beginners.connpass.com/event/47481/
shanonim
April 23, 2017
Tweet
Share
More Decks by shanonim
See All by shanonim
実践 Glass EE2 向けアプリ開発 / Practical Glass EE2 app development
shanonim
0
230
What's "Material You"
shanonim
0
270
新規事業のIoTプロダクトをプロトタイピングする技術 / IoT product prototyping in cookpad mart
shanonim
0
190
IoTで美味しい漬け物を作りたい v2 / make good pickles with IoT v2
shanonim
1
340
アルコールモニタリングIoT / Alcohol monitoring IoT
shanonim
0
530
Play with Android Things
shanonim
1
6.1k
Android Things Now
shanonim
1
580
Kotlin初心者向けハンズオン #3 / Kotlin Hands-on for Beginners
shanonim
2
310
UI模写のすゝめ / Encouragement of UI drawing
shanonim
3
2.2k
Other Decks in Technology
See All in Technology
シフトレフトで挑む セキュリティの生産性向上
sekido
PRO
0
270
ABEMAにおけるLLMを用いたコンテンツベース推薦システム導入と効果検証
cyberagentdevelopers
PRO
1
700
20240724_cm_odyssey_hibiyatech
hiashisan
0
110
AutomatedLabを使って内部ペンテストを勉強しよう! -やられ社内ネットワークの自動構築-
n_etupirka
1
610
さらに高品質・高速化を目指すAI時代のテスト設計支援と、めざす先 / AI Test Lab vol.1
shift_evolve
0
190
データ分析基盤を作ってみよう~設計編~
nrinetcom
PRO
1
110
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
4
1.3k
[NIKKEI Tech Talk] KDDI/KAG Scrum & Community for Engineering Training
curanosuke
2
220
Scaling Technical Excellence at 104: Evolution in AWS and Developer Empowerment
scotthsieh825
1
150
AIアシスタントの活用で品質の向上と開発ワークフローのスピードアップ
nagix
1
190
成長期に歩みを止めないための創業期の開発文化形成
mayah
6
420
Featured
See All Featured
Web development in the modern age
philhawksworth
203
10k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
How to Ace a Technical Interview
jacobian
274
23k
Design by the Numbers
sachag
277
18k
Thoughts on Productivity
jonyablonski
64
4.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
121
18k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
105
6.8k
Optimizing for Happiness
mojombo
373
69k
What the flash - Photography Introduction
edds
65
11k
YesSQL, Process and Tooling at Scale
rocio
166
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
23
1.9k
Transcript
API Server made of Golang @shanonim
About me - @shanonim - Android (Kotlin), Java, C++ -
Go Beginner
個人アプリのAPIを作りたい - 東京の銭湯マップアプリ - APIほしい - Java? - Rails? -
“How about Golang?”
- Google Map - 銭湯の位置にPinを置く - Pin情報をAPIで返す - 名前 (string)
- 場所 (string) - 営業時間 (string) - サウナ有り無し (bool)
How to build API Server with Golang - httprouter -
https://github.com/julienschmidt/httprouter - HTTP request router - `go get github.com/julienschmidt/httprouter`
z
None
None
詰んだポイント (1/2) - IntelliJでGolang - 外部ライブラリをgo getしても補完候補に出てくれない問題 - (Qiita) go
getしたライブラリをIntelliJ IDEAの補完候補に追加するには - http://qiita.com/grapswiz/items/e1da3181e9a3c7681ba2 - .bashrcにGOPATH書いたら解決した - :innocent:
詰んだポイント (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
ToDo - API Server on the GAE - Not yet
- Get JSON with Android App - Not yet
合宿中に読んだ資料 - 「メルカリ アッテ」を支える 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/
感想 - ずっとやってみたいと思っていたサーバーサイド言語ができてよかった - Golangたーのしー! - Libraryつよい - 勉強会ドリブン・合宿ドリブン、良い -
アルコールドリブン、良い - 深夜4時半のRun成功