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
990
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
250
What's "Material You"
shanonim
0
320
新規事業のIoTプロダクトをプロトタイピングする技術 / IoT product prototyping in cookpad mart
shanonim
0
220
IoTで美味しい漬け物を作りたい v2 / make good pickles with IoT v2
shanonim
1
400
アルコールモニタリングIoT / Alcohol monitoring IoT
shanonim
0
570
Play with Android Things
shanonim
1
6.2k
Android Things Now
shanonim
1
600
Kotlin初心者向けハンズオン #3 / Kotlin Hands-on for Beginners
shanonim
2
320
UI模写のすゝめ / Encouragement of UI drawing
shanonim
3
2.2k
Other Decks in Technology
See All in Technology
バクラクの組織とアーキテクチャ(要約)2025/01版
shkomine
13
2.9k
現実的なCompose化戦略 ~既存リスト画面の置き換え~
sansantech
PRO
0
160
Postman Vaultを使った秘密情報の安全な管理
nagix
3
120
Skip Skip Run Run Run ♫
temoki
0
360
地方企業がクラウドを活用するヒント
miu_crescent
PRO
1
110
ChatGPTを使ったブログ執筆と校正の実践テクニック/登壇資料(井田 献一朗)
hacobu
1
160
2025/1/29 BigData-JAWS 勉強会 #28 (re:Invent 2024 re:Cap)/new-feature-preview-q-in-quicksight-scenarios-tried-and-tested
emiki
0
310
CNAPPから考えるAWSガバナンスの実践と最適化
yuobayashi
5
680
アーキテクチャわからん、の話
shirayanagiryuji
0
150
Re:Define 可用性を支える モニタリング、パフォーマンス最適化、そしてセキュリティ
pyama86
9
5.6k
ObservabilityCON on the Road Tokyoの見どころ
hamadakoji
0
210
Windows Server 2025 へのアップグレードではまった話
tamaiyutaro
2
260
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.6k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
39
1.9k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Bash Introduction
62gerente
610
210k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
YesSQL, Process and Tooling at Scale
rocio
171
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Become a Pro
speakerdeck
PRO
26
5.1k
Rails Girls Zürich Keynote
gr2m
94
13k
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成功