Skip to content

Commit

Permalink
fix pkg names in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
soyvural authored Oct 5, 2021
1 parent e5d5775 commit 343ca00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import (
)

func main() {
cfg := connectionpool.Config{
cfg := connpool.Config{
MinSize: 5,
MaxSize: 20,
Increment: 2,
IdleTimeout: 30 * time.Minute,
}
p, err := connectionpool.New(cfg, connectionpool.WithName("my-pool"))
p, err := connpool.New(cfg, connpool.WithName("my-pool"))
if err != nil {
// handle error
}
Expand Down

0 comments on commit 343ca00

Please sign in to comment.