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
960
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
240
What's "Material You"
shanonim
0
290
新規事業のIoTプロダクトをプロトタイピングする技術 / IoT product prototyping in cookpad mart
shanonim
0
200
IoTで美味しい漬け物を作りたい v2 / make good pickles with IoT v2
shanonim
1
370
アルコールモニタリングIoT / Alcohol monitoring IoT
shanonim
0
540
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
JTCや セキュリティチェックリストが夢の跡
nikinusu
1
640
Google CloudのLLM活用の選択肢を広げるVertex AIのパートナーモデル
nayuts
0
130
React Aria で実現する次世代のアクセシビリティ
ryo_manba
4
1.2k
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
390
「自動テストのプラクティスを効果的に学ぶためのカードゲーム」 ( #sqip2024 )
teyamagu
PRO
2
180
PdMはどのように全てのスピードを上げられるか ~ 非連続進化のための具体的な取り組み ~
sansantech
PRO
4
1.3k
Next.js のページ遷移を全力で止める
ypresto
7
3.3k
JEP 480: Structured Concurrency
aya_ebata
0
130
Road to Single Activity
yurihondo
2
240
事前準備が肝!AI活用のための業務改革
layerx
PRO
1
380
AI活用したくてもできなかった不動産SaaSの今とこれから
nealle
0
330
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
300
Featured
See All Featured
A Philosophy of Restraint
colly
202
16k
Designing Experiences People Love
moore
138
23k
Designing the Hi-DPI Web
ddemaree
278
34k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
109
6.9k
How to Think Like a Performance Engineer
csswizardry
16
960
Large-scale JavaScript Application Architecture
addyosmani
508
110k
The Invisible Side of Design
smashingmag
296
50k
How to name files
jennybc
75
98k
Infographics Made Easy
chrislema
239
18k
The Language of Interfaces
destraynor
153
23k
Music & Morning Musume
bryan
46
6k
Producing Creativity
orderedlist
PRO
340
39k
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成功