perfect the bookstore and shorturl doc (#109)

* perfect the bookstore and shorturl doc

* 避免歧义
This commit is contained in:
janetyu
2020-09-30 14:22:37 +08:00
committed by GitHub
parent a22bcc84a3
commit d4240cd4b0
4 changed files with 12 additions and 4 deletions

View File

@@ -69,7 +69,7 @@
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/go-zero/tools/goctl
```
* 创建工作目录`bookstore`
* 创建工作目录 `bookstore` 和 `bookstore/api`
* 在`bookstore`目录下执行`go mod init bookstore`初始化`go.mod`
@@ -191,6 +191,8 @@
## 6. 编写add rpc服务
- 在 `bookstore` 下创建 `rpc` 目录
* 在`rpc/add`目录下编写`add.proto`文件
可以通过命令生成proto文件模板