Skip to content

Commit 582fc07

Browse files
committed
update mono repo: go-zero
1 parent 7c28747 commit 582fc07

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

readme.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,24 @@
1414
- [x] 基于 [cookiecutter](https://github.com/cookiecutter/cookiecutter) 实现.
1515

1616

17+
## feature:
18+
19+
- `go-zero` 微服务:
20+
- [x] 集成 air 工具, watch 项目代码, `自动编译 + hot reload`, 让 go 开发更丝滑(类 Python/Js)
21+
- [x] rpc: 集成 grpc
22+
- [x] log: 集成 uber log
23+
- [x] db: 集成 gorm + mysql
24+
- [x] cache: 集成 redis
25+
- [x] mq: 集成 rabbitmq
26+
- [x] 服务发现: 集成 etcd
27+
- [x] cronjob: 集成 cronjob
28+
29+
## 应用案例:
30+
31+
- [x] https://github.com/zeromicro/zeromall
32+
- 基于 go-zero 的微服务`B2B2C电商平台`
33+
34+
1735
## quickstart:
1836

1937
### install:
@@ -30,9 +48,7 @@ sudo apt-get install cookiecutter
3048

3149
```
3250

33-
34-
35-
### feature:
51+
### best practice:
3652

3753

3854
- [x] choice 1: create `mono-repo` + `single-app`
@@ -56,11 +72,15 @@ sudo apt-get install cookiecutter
5672

5773
cd your-workspace/
5874

59-
# 在当前目录下, 创建mono repo 项目根目录: 使用 gin
75+
# 在当前目录下, 创建 go-zero mono repo 项目根目录
76+
cookiecutter https://github.com/better-go/cookiecutter-go.git --directory="mono-repo/go-zero"
77+
78+
79+
# 在当前目录下, 创建 gin mono repo 项目根目录
6080
cookiecutter https://github.com/better-go/cookiecutter-go.git --directory="mono-repo/gin"
6181

6282

63-
# 在当前目录下, 创建mono repo 项目根目录: 使用 go-micro
83+
# 在当前目录下, 创建 go-micro mono repo 项目根目录
6484
cookiecutter https://github.com/better-go/cookiecutter-go.git --directory="mono-repo/go-micro"
6585

6686

0 commit comments

Comments
 (0)