Login
Roast topics
Find topics
Find it!
From:
duncanleung.com
(Uncensored)
subscribe
Go Idioms: Accept Interfaces, Return Types – Duncan Leung
https://duncanleung.com//go-idiom-accept-interfaces-return-types/
links
backlinks
Tagged with:
backend
Roast topics
Find topics
Roast it!
When writing functions or methods Go, it is idiomatic to accept interfaces and return types as it helps keep your Go code flexible, reusable…