5 ms·
It is, of course, possible to write reusable containers without interface{}[1], but it is not exactly a replacement for proper generics. [1] https://play.golan
by randomdata 9y ago
It is, of course, possible to write reusable containers without interface{}[1], but it is not exactly a replacement for proper generics.
[1] https://play.golang.org/p/2GZRkMJ_Mf https://play.golang.org/p/2GZRkMJ_Mf