
Until the Go core team include support for generics in Go, genny is a code-generation generics solution.
It allows one to write normal buildable and testable Go code which, when processed by the genny gen tool, will replace the generics with specific types genny - Generics for Go Build Status
This is the program package.