Registry / utility / jackc-puddle

jackc-puddle

JSON →
library1.3.0gogounverified

Package puddle is a generic resource pool for managing reusable resources in Go.

go get github.com/jackc/puddle
INSTALL
IMPORT
SIG · JACKC-PUDDLE
J
jackc-puddle
utilitygov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

puddle
github.com/jackc/puddle

Creates a resource pool and acquires a resource.

package main import ( "context" "fmt" "github.com/jackc/puddle" ) func main() { pool, _ := puddle.NewPool(nil, 10) res, _ := pool.Acquire(context.Background()) fmt.Println(res) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jackc-puddle — go get jackc-puddle · libregistry