Useful generic types for Go I've found myself reimplementing some small types and patterns in a lot of my recent Go projects, so I thought I'd distill them into a single package. Refer to the package docs for details.