{"id":76325,"library":"jolestar-go-commons-pool","title":"Go Commons Pool","description":"A generic object pool library for Go, inspired by Apache Commons Pool.","status":"active","version":"2.0.0+incompatible","language":"go","source_language":null,"source_url":"https://github.com/jolestar/go-commons-pool","tags":["pool","object-pool","commons"],"install":[{"cmd":"go get github.com/jolestar/go-commons-pool","lang":"bash","label":"Install github.com/jolestar/go-commons-pool"}],"dependencies":[],"imports":[{"symbol":"pool","correct":"github.com/jolestar/go-commons-pool"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/jolestar/go-commons-pool\"\n)\n\nfunc main() {\n\tfactory := pool.NewPooledObjectFactorySimple(\n\t\tfunc() (interface{}, error) { return \"object\", nil },\n\t)\n\tp := pool.NewObjectPool(factory)\n\tobj, _ := p.BorrowObject()\n\tfmt.Println(obj)\n\tp.ReturnObject(obj)\n}","lang":"go","description":"Basic object pool usage"},"warnings":[],"env_vars":null,"search_vec":"'apach':13 'common':2,14,20 'generic':5 'go':1,10 'inspir':11 'librari':8 'object':6,18 'object-pool':17 'pool':3,7,15,16,19","created_at":"2026-06-17T19:27:43.901948+00:00","updated_at":"2026-06-17T19:27:43.901948+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/jolestar/go-commons-pool","github":"https://github.com/jolestar/go-commons-pool","docs":"https://pkg.go.dev/github.com/jolestar/go-commons-pool#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}