3 ms·
X interface{} // int(3) | int(5) | []float64 | *Z It sucks.
by morelisp 6y ago
X interface{} // int(3) | int(5) | []float64 | *Z
It sucks.
- throwaway894345 6y agoWe can recoup a fair bit more type safety than this if we're interested in going through the effort: https://play.golang.org/p/4Fd7aKRtmvz https://play.golang.org/p/4Fd7aKRtmvz. See my sibling comment for more details.