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
61
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
83
Introduction to Flask
ngalambackend
0
180
Achieving API Performance and Scalability
ngalambackend
0
87
CSS in JS in action
ngalambackend
0
57
Productive Remote Working with Scrum
ngalambackend
0
97
Covid Tracker Kota Malang
ngalambackend
0
69
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
62
Other Decks in Technology
See All in Technology
AI Agentにおける評価指標とAgent GPA
tsho
1
280
Snowflakeデータ基盤で挑むAI活用 〜4年間のDataOpsの基礎をもとに〜
kaz3284
1
330
Oracle Cloud Infrastructure:2026年2月度サービス・アップデート
oracle4engineer
PRO
0
200
競争優位を生み出す戦略的内製開発の実践技法
masuda220
PRO
2
530
どこで打鍵するのが良い? IaCの実行基盤選定について
nrinetcom
PRO
2
150
primeNumber DATA MANAGEMENT CAMP #2:
masatoshi0205
1
680
Eight Engineering Unit 紹介資料
sansan33
PRO
1
6.9k
トラブルの大半は「言ってない」x「言ってない」じゃねーか!!
ichimichi
0
300
Serverless Agent Architecture on Azure / serverless-agent-on-azure
miyake
1
130
大規模サービスにおける レガシーコードからReactへの移行
magicpod
1
110
大規模な組織におけるAI Agent活用の促進と課題
lycorptech_jp
PRO
5
7.7k
管理者向けGitHub Enterpriseの運用Tips紹介: 人にもAIにも優しいプラットフォームづくり
yuriemori
0
100
Featured
See All Featured
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
65
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Navigating Team Friction
lara
192
16k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
970
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
270
What's in a price? How to price your products and services
michaelherold
247
13k
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