perfect the bookstore and shorturl doc (#109)
* perfect the bookstore and shorturl doc * 避免歧义
This commit is contained in:
@@ -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文件模板
|
||||
|
||||
Reference in New Issue
Block a user