This commit is contained in:
Andy Pan 2019-11-23 11:19:48 +08:00
parent 709f67fb01
commit fd3841dd88
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ Library `ants` implements a goroutine pool with fixed capacity, managing and rec
go get -u github.com/panjf2000/ants
```
### For `ants` v2
### For `ants` v2 (with GO111MODULE=on)
```powershell
go get -u github.com/panjf2000/ants/v2

View File

@ -52,7 +52,7 @@
go get -u github.com/panjf2000/ants
```
### 使用 `ants` v2 版本:
### 使用 `ants` v2 版本 (开启 GO111MODULE=on):
```powershell
go get -u github.com/panjf2000/ants/v2