|
|
|
|
|
by ernst_klim
2514 days ago
|
|
> various tradeoffs(fast compile? fast runtime? binary size? Pick 1 or 2) Interfaces are boxed already, so you've paid the price without having type safety. Simply treat a polymorphic function as if it accepted interface{}. |
|