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
64
0
Share
Interfaces in Go
Speaker
Audi
Data Engineer at SpaceStock
Ngalam Backend Community
July 21, 2020
More Decks by Ngalam Backend Community
See All by Ngalam Backend Community
Web_Scraping_with_Scrapy.pdf
ngalambackend
0
88
Introduction to Flask
ngalambackend
0
190
Achieving API Performance and Scalability
ngalambackend
0
93
CSS in JS in action
ngalambackend
0
59
Productive Remote Working with Scrum
ngalambackend
0
100
Covid Tracker Kota Malang
ngalambackend
0
74
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
66
Other Decks in Technology
See All in Technology
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
310
AI時代から振り返るTerraform drift運用の歴史 / AI Age Reflections on the History of Terraform Drift Operations
aeonpeople
2
630
Cloud Run のアップデート 触ってみる&紹介
gre212
0
280
さきさん文庫の書籍ができるまで
sakiengineer
0
320
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
280
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
4
1.1k
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
190
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
15
8.1k
Claude Codeですべての日常業務を爆速化しよう!
minorun365
PRO
17
16k
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
130
Sony_KMP_Journey_KotlinConf2026
sony
1
190
Spring AI × MCP 入門〜AIエージェントへのツール公開、境界設計から始める最小構成 〜
yuyamiyamoto
0
190
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Optimizing for Happiness
mojombo
378
71k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
My Coaching Mixtape
mlcsv
0
140
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
520
Raft: Consensus for Rubyists
vanstee
141
7.5k
Designing for Performance
lara
611
70k
How GitHub (no longer) Works
holman
316
150k
30 Presentation Tips
portentint
PRO
1
310
The SEO Collaboration Effect
kristinabergwall1
1
470
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