Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih committed Jul 21, 2014
1 parent 097c8b0 commit b42fe38
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
Expand Up @@ -36,9 +36,9 @@ p, err := pool.NewChannelPool(5, 30, factory)
// available it will create a new one via the factory function.
conn, err := p.Get()

// do something with conn and put it back to the pool by closing the
connection (this doesn't close the underlying connection instead it's putting
it back to the pool).
// do something with conn and put it back to the pool by closing the connection
// (this doesn't close the underlying connection instead it's putting it back
// to the pool).
conn.Close()

// close pool any time you want, this closes all the connections inside a pool
Expand Down

0 comments on commit b42fe38

Please sign in to comment.