diff --git a/readme-cn.md b/readme-cn.md index 05793625..15bcc0ff 100644 --- a/readme-cn.md +++ b/readme-cn.md @@ -161,6 +161,16 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/ [https://zeromicro.github.io/go-zero](https://zeromicro.github.io/go-zero) +* 常见问题 + + * 因为 `etcd` 和 `grpc` 兼容性问题,请使用 `grpc@v1.29.1` + + `google.golang.org/grpc v1.29.1` + + * 因为 `protobuf` 兼容性问题,请使用 `protocol-gen@v1.3.2` + + `go get -u github.com/golang/protobuf/protoc-gen-go@v1.3.2` + * awesome 系列(更多文章见『微服务实践』公众号) * [快速构建高并发微服务](https://github.com/tal-tech/zero-doc/blob/main/doc/shorturl.md) * [快速构建高并发微服务 - 多 RPC 版](https://github.com/tal-tech/zero-doc/blob/main/docs/zero/bookstore.md) diff --git a/readme.md b/readme.md index e2b9d836..0edccb00 100644 --- a/readme.md +++ b/readme.md @@ -216,6 +216,10 @@ go get -u github.com/tal-tech/go-zero `google.golang.org/grpc v1.29.1` +* For protobuf compatibility, use `protocol-gen@v1.3.2`. + + ` go get -u github.com/golang/protobuf/protoc-gen-go@v1.3.2` + ## 10. Chat group Join the chat via https://join.slack.com/t/go-zeroworkspace/shared_invite/zt-m39xssxc-kgIqERa7aVsujKNj~XuPKg