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
Interfaces in Go
Search
Ngalam Backend Community
July 21, 2020
Technology
0
57
Interfaces in Go
Speaker
Audi
Data Engineer at SpaceStock
Ngalam Backend Community
July 21, 2020
Tweet
Share
More Decks by Ngalam Backend Community
See All by Ngalam Backend Community
Web_Scraping_with_Scrapy.pdf
ngalambackend
0
78
Introduction to Flask
ngalambackend
0
160
Achieving API Performance and Scalability
ngalambackend
0
85
CSS in JS in action
ngalambackend
0
56
Productive Remote Working with Scrum
ngalambackend
0
81
Covid Tracker Kota Malang
ngalambackend
0
62
Supercharge Local Development with Docker
ngalambackend
1
120
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
310
Software 2.0 With Go
ngalambackend
1
50
Other Decks in Technology
See All in Technology
AWS表彰プログラムとキャリアについて
naoki_0531
1
140
ecspressoの設計思想に至る道 / sekkeinight2025
fujiwara3
12
2k
スプリントレビューを効果的にするために
miholovesq
9
1.7k
DatabricksのOLTPデータベース『Lakebase』に詳しくなろう!
inoutk
0
160
激動の時代、新卒エンジニアはAIツールにどう向き合うか。 [LayerX Bet AI Day Countdown LT Day1 ツールの選択]
tak848
0
600
With Devin -AIの自律とメンバーの自立
kotanin0
2
620
「手を動かした者だけが世界を変える」ソフトウェア開発だけではない開発者人生
onishi
15
7.3k
AIを使っていい感じにE2Eテストを書けるようになるまで / Trying to Write Good E2E Tests with AI
katawara
3
1.8k
完璧を目指さない小さく始める信頼性向上
kakehashi
PRO
0
110
大規模イベントを支える ABEMA の アーキテクチャ 変遷 2025
nagapad
4
400
モバイルゲームの開発を支える基盤の歩み ~再現性のある開発ラインを量産する秘訣~
qualiarts
0
570
興味の胞子を育て 業務と技術に広がる”きのこ力”
fumiyasac0921
0
250
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
51k
Designing for humans not robots
tammielis
253
25k
Six Lessons from altMBA
skipperchong
28
3.9k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Rails Girls Zürich Keynote
gr2m
95
14k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
GraphQLとの向き合い方2022年版
quramy
49
14k
Faster Mobile Websites
deanohume
308
31k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
990
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Transcript
Interfeces in Go
Interfeces in Go
None
What is Interface? • abstraction • hide implementation details •
contract
Why Interface? • allows multiple implementations • limits scope of
implementations
Go Interface • implemented implicitly • generally defined in consumer
• composition > inheritance
Interface Pollution
Go Proverbs on Interface • the bigger the interface, the
weaker the abstraction • interface{} says nothing • accept interfaces, return structs
Takeaways • be lazy whenever you can • refrain from
defining interface • if you need, define interface in consumer