Hacker News new | ask | show | jobs
by apatheticonion 1355 days ago
It's more this scenario https://go.dev/play/p/S2yQqriYTtm

It's because an interface is structurally evaluated only on variable assignment, but it's not always structurally evaluated which limits its usefulness