4 ms·
how does it work? there can be endless implementations and the IDE/Compiler doesn't know beforehand what satisfies the interface as oppose to other languages ?
by yonisto 4y ago
how does it work? there can be endless implementations and the IDE/Compiler doesn't know beforehand what satisfies the interface as oppose to other languages ?
- drakonka 4y agoThis answer by a GoLand team lead seems like a nice overview of how it detects interface implementations: https://stackoverflow.com/a/62386775 https://stackoverflow.com/a/62386775