NewPool will return a new pool object.
(opts ...Option)
| 29 | |
| 30 | // NewPool will return a new pool object. |
| 31 | func NewPool(opts ...Option) Pool { |
| 32 | var options Options |
| 33 | for _, o := range opts { |
| 34 | o(&options) |
| 35 | } |
| 36 | |
| 37 | return newPool(options) |
| 38 | } |
no test coverage detected
searching dependent graphs…