2 ms·
It also leads to easily fucking up interface implementations because that's not checked, some folks actually put "interface assertions" above the interface meth
by masklinn 4y ago
It also leads to easily fucking up interface implementations because that's not checked, some folks actually put "interface assertions" above the interface methods to ensure they're not forgetting anything and did not screw up any signature e.g.
var _ Iface = (*someStruct)(nil)
will fail to compile if someStruct does not correctly and fully implement Iface.