Skip to content

Commit

Permalink
Update to v2 with a new api
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih committed Jul 21, 2014
1 parent 9ce9ffc commit df631e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pool [![GoDoc](https://godoc.org/gopkg.in/fatih/pool.v1?status.svg)](https://godoc.org/gopkg.in/fatih/pool.v1) [![Build Status](https://travis-ci.org/fatih/pool.svg)](https://travis-ci.org/fatih/pool)
# Pool [![GoDoc](https://godoc.org/gopkg.in/fatih/pool.v2?status.svg)](https://godoc.org/gopkg.in/fatih/pool.v2) [![Build Status](https://travis-ci.org/fatih/pool.svg)](https://travis-ci.org/fatih/pool)


Pool is a thread safe connection pool for net.Conn interface. It can be used to
Expand All @@ -10,13 +10,13 @@ manage and reuse connections.
Install the package with:

```bash
go get gopkg.in/fatih/pool.v1
go get gopkg.in/fatih/pool.v2
```

Import it with:

```go
import "gopkg.in/fatih/pool.v1"
import "gopkg.in/fatih/pool.v2"
```

and use `pool` as the package name inside the code.
Expand Down

0 comments on commit df631e0

Please sign in to comment.