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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
shanonim
April 23, 2017
Technology
1.1k
0
Share
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
310
What's "Material You"
shanonim
0
410
新規事業のIoTプロダクトをプロトタイピングする技術 / IoT product prototyping in cookpad mart
shanonim
0
270
IoTで美味しい漬け物を作りたい v2 / make good pickles with IoT v2
shanonim
1
510
アルコールモニタリングIoT / Alcohol monitoring IoT
shanonim
0
680
Play with Android Things
shanonim
1
6.3k
Android Things Now
shanonim
1
660
Kotlin初心者向けハンズオン #3 / Kotlin Hands-on for Beginners
shanonim
2
370
UI模写のすゝめ / Encouragement of UI drawing
shanonim
3
2.4k
Other Decks in Technology
See All in Technology
巨大プラットフォームを進化させる「第3のROI」
recruitengineers
PRO
2
1.2k
スクラムの中で AI-DLC workflow を 使い始めて3ヶ月の振り返り
kaminashi
0
130
AndroidアプリとCopilot Studioの統合
nakasho
0
150
AI バイブコーティングでキーボード不要?!
samakada
0
620
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
350
Percolatorを廃止し、マルチ検索サービスへ刷新した話 / Search Engineering Tech Talk 2026 Spring
visional_engineering_and_design
0
150
運用システムにおけるデータ活用とPlatform
sansantech
PRO
0
120
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
310
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
480
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
400
扱える不確実性を増やしていく - スタートアップEMが考える「任せ方」
kadoppe
0
320
UIライブラリに依存しすぎないReact Native設計を目指して
grandbig
0
140
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Producing Creativity
orderedlist
PRO
348
40k
KATA
mclloyd
PRO
35
15k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Technical Leadership for Architectural Decision Making
baasie
3
330
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
4 Signs Your Business is Dying
shpigford
187
22k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
510
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
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成功