Update readme-cn.md
This commit is contained in:
26
readme-cn.md
26
readme-cn.md
@@ -92,9 +92,13 @@ go-zero 是一个集成了各种工程实践的包含 web 和 rpc 框架,有
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## 4. 我们使用 go-zero 的基本架构图
|
||||||
|
|
||||||
|
<img width="973" alt="image" src="https://user-images.githubusercontent.com/1918356/170813549-f6a40438-c8c3-4c66-9348-bb85f96b91f5.png">
|
||||||
|
|
||||||
觉得不错的话,别忘 **star** 👏
|
觉得不错的话,别忘 **star** 👏
|
||||||
|
|
||||||
## 4. Installation
|
## 5. Installation
|
||||||
|
|
||||||
在项目目录下通过如下命令安装:
|
在项目目录下通过如下命令安装:
|
||||||
|
|
||||||
@@ -102,7 +106,7 @@ go-zero 是一个集成了各种工程实践的包含 web 和 rpc 框架,有
|
|||||||
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro/go-zero
|
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro/go-zero
|
||||||
```
|
```
|
||||||
|
|
||||||
## 5. Quick Start
|
## 6. Quick Start
|
||||||
|
|
||||||
0. 完整示例请查看
|
0. 完整示例请查看
|
||||||
|
|
||||||
@@ -121,6 +125,9 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro
|
|||||||
# Go 1.16 及以后版本
|
# Go 1.16 及以后版本
|
||||||
GOPROXY=https://goproxy.cn/,direct go install github.com/zeromicro/go-zero/tools/goctl@latest
|
GOPROXY=https://goproxy.cn/,direct go install github.com/zeromicro/go-zero/tools/goctl@latest
|
||||||
|
|
||||||
|
# For Mac
|
||||||
|
brew install goctl
|
||||||
|
|
||||||
# docker for amd64 architecture
|
# docker for amd64 architecture
|
||||||
docker pull kevinwan/goctl
|
docker pull kevinwan/goctl
|
||||||
# run goctl like
|
# run goctl like
|
||||||
@@ -128,6 +135,7 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro
|
|||||||
|
|
||||||
# docker for arm64 (M1) architecture
|
# docker for arm64 (M1) architecture
|
||||||
docker pull kevinwan/goctl:latest-arm64
|
docker pull kevinwan/goctl:latest-arm64
|
||||||
|
|
||||||
# run goctl like
|
# run goctl like
|
||||||
docker run --rm -it -v `pwd`:/app kevinwan/goctl:latest-arm64 goctl --help
|
docker run --rm -it -v `pwd`:/app kevinwan/goctl:latest-arm64 goctl --help
|
||||||
```
|
```
|
||||||
@@ -175,13 +183,13 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
## 6. Benchmark
|
## 7. Benchmark
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[测试代码见这里](https://github.com/smallnest/go-web-framework-benchmark)
|
[测试代码见这里](https://github.com/smallnest/go-web-framework-benchmark)
|
||||||
|
|
||||||
## 7. 文档
|
## 8. 文档
|
||||||
|
|
||||||
* API 文档
|
* API 文档
|
||||||
|
|
||||||
@@ -202,7 +210,7 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro
|
|||||||
| [goctl-android](https://github.com/zeromicro/goctl-android) | 生成 `java (android)` 端 `http client` 请求代码 |
|
| [goctl-android](https://github.com/zeromicro/goctl-android) | 生成 `java (android)` 端 `http client` 请求代码 |
|
||||||
| [goctl-go-compact](https://github.com/zeromicro/goctl-go-compact) | 合并 `api` 里同一个 `group` 里的 `handler` 到一个 `go` 文件 |
|
| [goctl-go-compact](https://github.com/zeromicro/goctl-go-compact) | 合并 `api` 里同一个 `group` 里的 `handler` 到一个 `go` 文件 |
|
||||||
|
|
||||||
## 8. go-zero 用户
|
## 9. go-zero 用户
|
||||||
|
|
||||||
go-zero 已被许多公司用于生产部署,接入场景如在线教育、电商业务、游戏、区块链等,目前为止,已使用 go-zero 的公司包括但不限于:
|
go-zero 已被许多公司用于生产部署,接入场景如在线教育、电商业务、游戏、区块链等,目前为止,已使用 go-zero 的公司包括但不限于:
|
||||||
|
|
||||||
@@ -276,7 +284,7 @@ go-zero 已被许多公司用于生产部署,接入场景如在线教育、电
|
|||||||
|
|
||||||
如果贵公司也已使用 go-zero,欢迎在 [登记地址](https://github.com/zeromicro/go-zero/issues/602) 登记,仅仅为了推广,不做其它用途。
|
如果贵公司也已使用 go-zero,欢迎在 [登记地址](https://github.com/zeromicro/go-zero/issues/602) 登记,仅仅为了推广,不做其它用途。
|
||||||
|
|
||||||
## 9. CNCF 云原生技术全景图
|
## 10. CNCF 云原生技术全景图
|
||||||
|
|
||||||
<p float="left">
|
<p float="left">
|
||||||
<img src="https://landscape.cncf.io/images/left-logo.svg" width="150"/>
|
<img src="https://landscape.cncf.io/images/left-logo.svg" width="150"/>
|
||||||
@@ -285,13 +293,13 @@ go-zero 已被许多公司用于生产部署,接入场景如在线教育、电
|
|||||||
|
|
||||||
go-zero 收录在 [CNCF Cloud Native 云原生技术全景图](https://landscape.cncf.io/?selected=go-zero)。
|
go-zero 收录在 [CNCF Cloud Native 云原生技术全景图](https://landscape.cncf.io/?selected=go-zero)。
|
||||||
|
|
||||||
## 10. 微信公众号
|
## 11. 微信公众号
|
||||||
|
|
||||||
`go-zero` 相关文章和视频都会在 `微服务实践` 公众号整理呈现,欢迎扫码关注 👏
|
`go-zero` 相关文章和视频都会在 `微服务实践` 公众号整理呈现,欢迎扫码关注 👏
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/zeromicro.jpg" alt="wechat" width="600" />
|
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/zeromicro.jpg" alt="wechat" width="600" />
|
||||||
|
|
||||||
## 11. 微信交流群
|
## 12. 微信交流群
|
||||||
|
|
||||||
如果文档中未能覆盖的任何疑问,欢迎您在群里提出,我们会尽快答复。
|
如果文档中未能覆盖的任何疑问,欢迎您在群里提出,我们会尽快答复。
|
||||||
|
|
||||||
@@ -303,7 +311,7 @@ go-zero 收录在 [CNCF Cloud Native 云原生技术全景图](https://landscape
|
|||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/wechat.jpg" alt="wechat" width="300" />
|
<img src="https://raw.githubusercontent.com/zeromicro/zero-doc/main/doc/images/wechat.jpg" alt="wechat" width="300" />
|
||||||
|
|
||||||
## 12. 赞助一下👍
|
## 13. 赞助一下👍
|
||||||
|
|
||||||
如果觉得项目有帮助,可以请作者喝杯咖啡 🍹
|
如果觉得项目有帮助,可以请作者喝杯咖啡 🍹
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user