Merge branch 'develop'

This commit is contained in:
andy pan 2018-05-21 12:48:18 +08:00
commit 6e53c23ace
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ ants.Push(func() {})
``` ```
## Custom limited pool ## Custom limited pool
Ants also supports the custom limited pool. You can use the `NewPool` method to generate a pool with the given capacity, as following: Ants also supports custom limited pool. You can use the `NewPool` method to create a pool with the given capacity, as following:
``` go ``` go
// set 10000 the size of goroutine pool // set 10000 the size of goroutine pool