|
|
|
|
|
by tonyhb
4291 days ago
|
|
In other statically typed languages you don't break type safety to implement abstractions. In go, where interfaces are implemented by default and `interface{}` covers everything, you also don't need to. It's just a little bit (~6 lines) of code to add to guarantee it while they figure out a nice way to add generics. |
|