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
59
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
81
Introduction to Flask
ngalambackend
0
180
Achieving API Performance and Scalability
ngalambackend
0
87
CSS in JS in action
ngalambackend
0
56
Productive Remote Working with Scrum
ngalambackend
0
96
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
2人で作ったAIダッシュボードが、開発組織の次の一手を照らした話― Cursor × SpecKit × 可視化の実践 ― Qiita AI Summit
noalisaai
1
370
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
300
Cosmos World Foundation Model Platform for Physical AI
takmin
0
150
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
200
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
330
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.1k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
330
(金融庁共催)第4回金融データ活用チャレンジ勉強会資料
takumimukaiyama
0
130
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
4.8k
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
590
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.2k
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Visualization
eitanlees
150
17k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
Crafting Experiences
bethany
1
46
Music & Morning Musume
bryan
47
7.1k
Building AI with AI
inesmontani
PRO
1
680
New Earth Scene 8
popppiees
1
1.5k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
How to Talk to Developers About Accessibility
jct
2
130
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