github.com/jackc/puddle/v2@v2.2.2-0.20240301145809-72b022bcfc59/export_test.go (about) 1 package puddle 2 3 import "context" 4 5 func (p *Pool[T]) AcquireRaw(ctx context.Context) (*Resource[T], error) { 6 return p.acquire(ctx) 7 } 8 9 var AcquireSemAll = acquireSemAll