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
Building APIs In Go
Search
Sowju
August 23, 2019
Programming
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Building APIs In Go
Sowju
August 23, 2019
More Decks by Sowju
See All by Sowju
containwd.pdf
sowjumn
0
300
Build a Go Web App
sowjumn
0
190
Other Decks in Programming
See All in Programming
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
920
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
すこし踏み込む CancellationToken
htkym
2
1.7k
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
ChromeでローカルLLM
ryu1013
0
140
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
AWSに止められる覚悟してますか?
morizo_1984
2
530
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1.6k
The Curious Case for Waylosing
cassininazir
1
570
Un-Boring Meetings
codingconduct
0
460
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
A Soul's Torment
seathinner
8
3.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Designing for Timeless Needs
cassininazir
1
530
From π to Pie charts
rasagy
1
400
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Transcript
Building APIs in GO - The stack without a framework
Hi Gophers!
Agenda
Takeaways
The Problem Set : Nutritional API
API Design Considerations
None
Rapid Prototyping Frameworks ➢ ➢ ➢ ➢
Why do I DIY? ➢ ➢ ➢ ➢
How do I DIY?
HTTP HandlerFunc
Type ServeMux
net/http: type Request
go/chi
database/sql: type DB & Tx • • • • •
• • •
lib/pq : type SQL •
Code
Http BasicAuth
golang-migrate
Migrations
Applying the migrations
Router …
Controller
Model
Ratelimiting type Limiter
Summary
References • • • • • • • • •
•
Codebase & Slides https://github.com/sowjumn/diy_nutrition
Thank You!