3 ms·
Yes, to use code that relies on an interface you must implement the interface for your types. That is one of the reasons go has a guiding design principle that
by stonemetal 13y ago
Yes, to use code that relies on an interface you must implement the interface for your types.
That is one of the reasons go has a guiding design principle that interfaces should be as small as possible.