DEV Community

Discussion on: Effective Interfaces In Golang

Collapse
 
phantas0s profile image
Matthieu Cneude

This is currently the only way to manage generic programming in Golang (with reflection but, I mean, be very careful with that). But generics are coming, and when it will be officially rolled out we shouldn't use this kind of code anymore.