forked from mirror/ants
Fix #62
This commit is contained in:
parent
709f67fb01
commit
fd3841dd88
|
@ -52,7 +52,7 @@ Library `ants` implements a goroutine pool with fixed capacity, managing and rec
|
||||||
go get -u github.com/panjf2000/ants
|
go get -u github.com/panjf2000/ants
|
||||||
```
|
```
|
||||||
|
|
||||||
### For `ants` v2
|
### For `ants` v2 (with GO111MODULE=on)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
go get -u github.com/panjf2000/ants/v2
|
go get -u github.com/panjf2000/ants/v2
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
go get -u github.com/panjf2000/ants
|
go get -u github.com/panjf2000/ants
|
||||||
```
|
```
|
||||||
|
|
||||||
### 使用 `ants` v2 版本:
|
### 使用 `ants` v2 版本 (开启 GO111MODULE=on):
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
go get -u github.com/panjf2000/ants/v2
|
go get -u github.com/panjf2000/ants/v2
|
||||||
|
|
Loading…
Reference in New Issue