update docs

This commit is contained in:
kevin
2020-08-31 22:37:43 +08:00
parent fe3e70a60f
commit f03862c378
2 changed files with 9 additions and 5 deletions

View File

@@ -91,11 +91,15 @@ go get -u github.com/tal-tech/go-zero
0. 完整示例请查看
[从0到1快速构建一个高并发微服务系统](doc/shorturl.md)
[快速构建高并发微服务](doc/shorturl.md)
1. 从[这里](https://github.com/tal-tech/go-zero/releases)下载goctl工具
1. 安装goctl工具
把goctl放到$PATH的目录下确保goctl可执行
```shell
export GO111MODULE=on export GOPROXY=https://goproxy.cn/,direct go get github.com/tal-tech/go-zero/tools/goctl
```
确保goctl可执行
2. 定义API文件比如greet.api可以在vs code里安装`goctl`插件支持api语法
@@ -191,7 +195,7 @@ Content-Length: 0
## 8. 文档 (逐步完善中)
* [从0到1快速构建一个高并发微服务系统](doc/shorturl.md)
* [快速构建高并发微服务](doc/shorturl.md)
* [goctl使用帮助](doc/goctl.md)
* [关键字替换和敏感词过滤工具](doc/keywords.md)