2
0

Remove compat layer and use generics directly

Backwards compatibility is not required since moving to v2.
This commit is contained in:
Jack Christensen
2022-07-30 11:26:33 -05:00
parent 4e95984946
commit 40069f25d6
9 changed files with 584 additions and 630 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ destructor := func(value net.Conn) {
}
maxPoolSize := 10
pool := puddleg.NewPool(constructor, destructor, maxPoolSize)
pool := puddle.NewPool(constructor, destructor, maxPoolSize)
// Acquire resource from the pool.
res, err := pool.Acquire(context.Background())