|
|
|
@ -89,7 +89,7 @@ go-zero 是一个集成了各种工程实践的包含 web 和 rpc 框架,有
|
|
|
|
|
在项目目录下通过如下命令安装:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/go-zero
|
|
|
|
|
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro/go-zero
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 5. Quick Start
|
|
|
|
@ -106,10 +106,10 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# Go 1.15 及之前版本
|
|
|
|
|
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/go-zero/tools/goctl@latest
|
|
|
|
|
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro/go-zero/tools/goctl@latest
|
|
|
|
|
|
|
|
|
|
# Go 1.16 及以后版本
|
|
|
|
|
GOPROXY=https://goproxy.cn/,direct go install github.com/tal-tech/go-zero/tools/goctl@latest
|
|
|
|
|
GOPROXY=https://goproxy.cn/,direct go install github.com/zeromicro/go-zero/tools/goctl@latest
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
确保 goctl 可执行
|
|
|
|
|