Skip to content

Commit 64abb24

Browse files
authored
Update cn.md
1 parent c9afd61 commit 64abb24

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/cn.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@
1515
* [protobuf](https://developers.google.com/protocol-buffers/docs/reference/proto3-spec)
1616

1717
## 安装
18-
如果没有 go 开发环境,可以直接从 release 中下载最新版的对应平台的二进制文件。
18+
### Use as a executable
19+
1. 首先 git clone,`git clone github.com/YYCoder/protobuf-thrift`
1920

20-
对于 Gophers,可以直接使用 `go install github.com/YYCoder/protobuf-thrift`
21+
2. 运行 `make`,产出会在 `./exe` 目录下
22+
23+
### Use as a library
24+
1. 在你的 go module 中 go get,`go get github.com/YYCoder/protobuf-thrift`
25+
26+
2. 直接从 `github.com/YYCoder/protobuf-thrift` import package 即可
2127

2228
## 使用示例
2329

0 commit comments

Comments
 (0)