|
|
|
|
|
by formerly_proven
238 days ago
|
|
> the return values aren't simple structs but slices or maps because []x is not a []X even if x implements X. I assume this is because on is an array of struct pointers and the other is an array of fat pointers, since Go has reified interfaces (unlike higher-level languages). |
|