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
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
API Server made of Golang
2017.04.23
Go合宿2017
https://go-beginners.connpass.com/event/47481/
shanonim
April 23, 2017
More Decks by shanonim
See All by shanonim
実践 Glass EE2 向けアプリ開発 / Practical Glass EE2 app development
shanonim
0
330
What's "Material You"
shanonim
0
420
新規事業のIoTプロダクトをプロトタイピングする技術 / IoT product prototyping in cookpad mart
shanonim
0
280
IoTで美味しい漬け物を作りたい v2 / make good pickles with IoT v2
shanonim
1
520
アルコールモニタリングIoT / Alcohol monitoring IoT
shanonim
0
700
Play with Android Things
shanonim
1
6.4k
Android Things Now
shanonim
1
670
Kotlin初心者向けハンズオン #3 / Kotlin Hands-on for Beginners
shanonim
2
380
UI模写のすゝめ / Encouragement of UI drawing
shanonim
3
2.4k
Other Decks in Technology
See All in Technology
ボーイスカウトルールでメモリやスキルを改善しよう
azukiazusa1
4
1.3k
Claude Codeとハーネスについて考えてみる
oikon48
19
9.5k
DatabricksにおけるMCPソリューション
taka_aki
1
260
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
770
しぶいSRE: サーバから見えない障害にどう向き合うか。ラストワンマイルのデバッグ実践 / Shibui SRE
kanny
13
6.3k
関数型の考えを TypeScript に持ち込んで、テストしやすい純粋関数を増やす / Pure at the Core, Effects at the Edge: Bringing Functional Thinking into TypeScript
kaminashi
1
130
Road to SRE NEXTの今までとこれから
hiroyaonoe
0
350
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
290
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
Making sense of Google’s agentic dev tools
glaforge
1
250
2年前に削除したPHPクラスが、 ある日突然決済をエラーにした
ykagano
1
150
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
GraphQLとの向き合い方2022年版
quramy
50
15k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
340
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
What's in a price? How to price your products and services
michaelherold
247
13k
Color Theory Basics | Prateek | Gurzu
gurzu
0
390
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
210
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2k
The browser strikes back
jonoalderson
0
1.4k
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成功