- Effective Go - Interface checks (blank implements)
- Ensure a type implements an interface at compile time in Go
- Interface guards in Go
- Compile time checks to ensure your type satisfies an interface
- What does an underscore and interface name after keyword var mean?
- What is
var _ type = &type{}
used for? - Using interfaces in Go - Interface guards
VirtualTam's bookmarks
-
-
2018-09-20 - https://stackoverflow.com/questions/31505587/how-can-two-different-types-implement-the-same-method-in-golang-using-interfaces
- https://stackoverflow.com/questions/34079466/golang-embedded-struct
- https://github.com/golang/go/issues/22013
- https://golang.org/doc/faq#inheritance
- https://golang.org/doc/faq#Is_Go_an_object-oriented_language
- https://travix.io/type-embedding-in-go-ba40dd4264df