Comment Comment by j16sdiz Go use a duck typing system, many of the generic use case can be solved using interface elegantly..For the rest... Yes, it is very ugly. But the standard generic does not fit very well with go type system, so....Luckily, go is very simple. Even ugly bit are not hard to understand. parent j16sdiz 7 years ago
For the rest... Yes, it is very ugly. But the standard generic does not fit very well with go type system, so....
Luckily, go is very simple. Even ugly bit are not hard to understand.