diff --git a/README.md b/README.md index 253fe43..81a9d77 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_ZH.md b/README_ZH.md index 6c10742..27c2ae1 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -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