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
Hayato Suzuki
June 27, 2018
64
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
Well, that’s weird…
csswizardry
3
240
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
Designing Powerful Visuals for Engaging Learning
tmiket
1
670
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680
Believing is Seeing
oripsolob
1
290
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k