Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
校内LT大会2018/06/27
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hayato Suzuki
June 27, 2018
63
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
校内LT大会2018/06/27
Hayato Suzuki
June 27, 2018
Transcript
18 slides
(PPO("& 4XJGU
荈䊹稱➜ せխխխխꈿ加괝➂խ)BZBUP4V[VLJ խխխխխխ!TVIBZB 鎉铂խխխխ3VCZծ(P ،ٕغ؎زխIFZ JOD 4503&4KQ 㥨ֹזմմխ蔓➂
ך➭խխխًٕل؎(PQIFS麣㜥劍欰
荈䊹稱➜ せխխխխꈿ加괝➂խ)BZBUP4V[VLJ խխխխխխ!TVIBZB 鎉铂խխխխ3VCZծ(P ،ٕغ؎زխIFZ JOD 4503&4KQ 㥨ֹזմմխ蔓➂
ך➭խխխًٕل؎(PQIFS麣㜥劍欰
ⰻ㺁 (PPO("& 4XJGU "1*؟٦غ
IUUQTDMPVEHPPHMFDPNBQQFOHJOFEPDTTUBOEBSEHPRVJDLTUBSU
ծ($1فٗآؙؑزה խխ"QQ&OHJOF،فٔ؛٦ءّٝך⡲䧭 ծ(PPHMF$MPVE4%,تؐٝٗ٦س ծ)FMMP8PSME،فٔتؐٝٗ٦س ծٗ٦ٕؕ涪؟٦غ饯⹛ խխխխխխխխխխխխխխխխ ծ،فٔرفٗ؎ խխխխխխխխխ 2VJDLTUBSU
(JO 8FCGSBNFXPSL $ go get github.com/gin-gonic/gin
type User struct { ID int `json:”id”` Name string `json:”name”`
Introduction string `json:”introduction”` } 圓鸡⡤
……… func GetEngine() *gin.Engine { router := gin.Default() router.GET(“/”, func(c
*gin.Context) { c.String(http.StatusOK, “Hello, ੈք”) }) router.GET(“/api/users/:id”, GetUser) return router } ……… ٕ٦ذ؍ؚٝ
……… func GetUser(c *gin.Context) { id := c.Param(“id”) U :=
User { ID: id, Name: “json_test”, Introduction: “hello, json_test”, } c.JSON(http.StatusOK, u) } ……… KTPOד鵤ׅ
$ dev_appserver.py app.yaml ٗ٦ٕؕ؟٦غ饯⹛
IUUQMPDBMIPTUBQJVTFST \ JE OBNFˑKTPO@UFTU˒ JOUSPEVDUJPOˑIFMMP KTPO@UFTU˒ ^
$ gcloud app deploy رفٗ؎ IUUQTYYYYYYBQQTQPUDPN
䠬䟝
ׅזְֽկ ("&嚂׃ַկ %BUBTUPSF⢪ג⦼ךװ《ָ דֹ״ֲחזְկ
ַֿ
None
ֶ׃תְ IUUQTUBMFOUUIFUWKQQFSTPO
Featured
See All Featured
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
It's Worth the Effort
3n
188
29k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
290
Statistics for Hackers
jakevdp
799
230k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
What's in a price? How to price your products and services
michaelherold
247
13k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
The Limits of Empathy - UXLibs8
cassininazir
2
790
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k