|
|
|
|
|
by kuschku
3426 days ago
|
|
Or maybe they mean that you HAVE to use interface{} for any reasonable kind of generics, such as developing generic data structures, or generic handlers for RPC interfaces allowing arbitrary nesting? Even the stdlib uses interface{} everywhere now: https://tip.golang.org/pkg/sort/#Slice |
|