4 ms·
Correct. An io.Reader doesn't just look and sound like a Reader. It _is_ a reader.
by enneff 14y ago
Correct. An io.Reader doesn't just look and sound like a Reader. It _is_ a reader.
- marshray 14y agoIf it looks like duck typing, and it sounds like duck typing, ... that's good enough for duck typing.