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
80
Introduction to Flask
ngalambackend
0
170
Achieving API Performance and Scalability
ngalambackend
0
87
CSS in JS in action
ngalambackend
0
56
Productive Remote Working with Scrum
ngalambackend
0
93
Covid Tracker Kota Malang
ngalambackend
0
68
Supercharge Local Development with Docker
ngalambackend
1
130
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
320
Software 2.0 With Go
ngalambackend
1
60
Other Decks in Technology
See All in Technology
通勤手当申請チェックエージェント開発のリアル
whisaiyo
3
640
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
150
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
14
4.8k
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
2k
普段使ってるClaude Skillsの紹介(by Notebooklm)
zerebom
8
2.6k
1万人を変え日本を変える!!多層構造型ふりかえりの大規模組織変革 / 20260108 Kazuki Mori
shift_evolve
PRO
3
290
AIと融ける人間の冒険
pujisi
0
100
ソフトウェアエンジニアとAIエンジニアの役割分担についてのある事例
kworkdev
PRO
1
350
AWS Lambda durable functions を使って AWS Lambda の15分の壁を超えてみよう
matsuzawatakeshi
0
120
AWS re:Inventre:cap ~AmazonNova 2 Omniのワークショップを体験してきた~
nrinetcom
PRO
0
120
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
1
270
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
14k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
Navigating Weather and Climate Data
rabernat
0
60
Darren the Foodie - Storyboard
khoart
PRO
0
2k
Typedesign – Prime Four
hannesfritz
42
2.9k
WENDY [Excerpt]
tessaabrams
9
35k
New Earth Scene 8
popppiees
0
1.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
180
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
410
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
The Limits of Empathy - UXLibs8
cassininazir
1
200
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