7 ms·
Interfaces in Go are implicitely implemented. It means that if a type has the methods defined in the interface, then it implements the interface. I will update
by maximilienandi 5y ago
Interfaces in Go are implicitely implemented. It means that if a type has the methods defined in the interface, then it implements the interface.
I will update the example because it's confusing !
If you have some time come to the speak with me in the chatbox on the website I can help you understand this.