3 ms·
Go's implicit interfaces are one possible solution to this problem. > animals which eat type eater interface { eat() } somEater, isEater := value.(eat
by zamalek 12y ago
Go's implicit interfaces are one possible solution to this problem.
> animals which eat
type eater interface { eat() }
somEater, isEater := value.(eater)
Or something, my Go isn't very good.