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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ngalam Backend Community
July 21, 2020
Technology
0
62
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
84
Introduction to Flask
ngalambackend
0
180
Achieving API Performance and Scalability
ngalambackend
0
91
CSS in JS in action
ngalambackend
0
59
Productive Remote Working with Scrum
ngalambackend
0
99
Covid Tracker Kota Malang
ngalambackend
0
71
Supercharge Local Development with Docker
ngalambackend
1
130
Building Scalable and Flexible API by Leveraging GraphQL and BigTable
ngalambackend
1
330
Software 2.0 With Go
ngalambackend
1
63
Other Decks in Technology
See All in Technology
ThetaOS - A Mythical Machine comes Alive
aslander
0
180
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
24
12k
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
560
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
250
FastMCP OAuth Proxy with Cognito
hironobuiga
3
200
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
Bref でサービスを運用している話
sgash708
0
190
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
180
スピンアウト講座06_認証系(API-OAuth-MCP)入門
overflowinc
0
1.2k
DDD×仕様駆動で回す高品質開発のプロセス設計
littlehands
6
2.4k
Phase07_実務適用
overflowinc
0
1.9k
Windows ファイル共有(SMB)を再確認する
murachiakira
PRO
0
280
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
150
Site-Speed That Sticks
csswizardry
13
1.1k
Embracing the Ebb and Flow
colly
88
5k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
280
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
230
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
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