Introduction to Go Generics
Go 1.18 arrived with the added support for "generics".
Okay. But what are generics?
So generics are a way of writing code that is not restricted with the specific types being used.
But we could already use interface{} and have type casting.
Yes...
prog-bytes.hashnode.dev5 min read