Preface

Introduction to Go Interfaces

Best Practice (a.k.a. Arguments)

“The smaller the interface,the stronger the abstraction”

"Accept interfaces but return structs”

“Go interfaces generally belong in the package that uses values of the interface type, not the package that implements those values”

“It can be useful to define a default abstraction on the producer side”

Summary

Reference

A software engineer