3 ms·
Why isn't []int assignable to []interface{}? It's 6am and my brain hasn't kicked on yet.
by pgporada 4y ago
Why isn't []int assignable to []interface{}? It's 6am and my brain hasn't kicked on yet.
- assbuttbuttass 4y agoThey have different runtime representations. []interface{} is a slice of fat pointers to interfaces.