pool go get github.com/lukechampine/pool pool is a collection of pools, including a standard memory pool and a more generic "index" pool for storing arbitrary types. See the GoDoc for full documentation.