Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
๐
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Go interfaces: design, purpose, use
ยท
Module 2
Idiomatic Interface Mechanics and Design in Go
1
Go Interfaces: Implicit Satisfaction
Define a Go interface and explain the mechanics of implicit satisfaction, where a concrete type's value is assigned to an interface type.
2
Idiomatic Go Interfaces: Design Patterns and Best Practices
Describe idiomatic Go interface design patterns, including the 'accept interfaces, return structs' principle and the preference for small, single-method interfaces.
End of course,
Back to course
Previous module
The Core Problem and Go's Philosophical Solution
Next module