Skip to content

aloknerurkar/gpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpool Go Go Reference Coverage Status

Generic pool implementation

gpool implements a generic pool of objects. With generics this removes the ugly type checking required for xsync.Pool and also adds additional functionality like setting upper limits on active/idle objects and also allowing users to configure constructors, destructors and on get hooks to add extra checking while accessing these objects

Install

gpool works like a regular Go module:

> go get github.com/aloknerurkar/gpool

Usage

import "github.com/aloknerurkar/gpool"

Releases

No releases published

Packages

No packages published

Languages