Skip to content

Commit 085dab9

Browse files
authored
[Issue #7] update README_CN.md
1 parent 0b2cc3f commit 085dab9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README_CN.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010

1111
还需要为生成protobuf和grpc的go文件安装一些插件:
1212
```bash
13-
# install protoc-gen-go to generate the go source code for protobuf messages
13+
# 安装 protoc-gen-go(生成普通 Go protobuf 代码)
1414
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
15-
# install protoc-gen-go-grpc to generate the go source code for grpc services
15+
# 安装 protoc-gen-go-grpc(生成 gRPC 服务代码)
1616
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
17-
# install protoc-gen-grpc-gateway to transport HTTP to grpc
17+
# 安装 protoc-gen-grpc-gateway(grpc-gateway 支持 HTTP 到 gRPC 的转发)
1818
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
19-
# install protoc-gen-swagger to parse the swagger annotations in the proto files and generate OpenAPI docs
19+
# 安装 protoc-gen-swagger(生成OpenAPI文档)
2020
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@latest
21+
```
2122

2223
### 步骤2:启动 MySQL
2324
例如,使用 Docker 启动 MySQL,然后创建 `spike` 数据库:

0 commit comments

Comments
 (0)