Generics for go