Yes, that is how you satisfy an interface in Go.
>What if you have interfaces with similar names?
The problem of interfaces with similar names is actually no different than the problems of, for example, packages or functions having similar names. It's down to you to avoid naming things in a confusing manner.
Yes, that is how you satisfy an interface in Go.
>What if you have interfaces with similar names?
The problem of interfaces with similar names is actually no different than the problems of, for example, packages or functions having similar names. It's down to you to avoid naming things in a confusing manner.