Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: