File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change 14
14
- [x] 基于 [ cookiecutter] ( https://github.com/cookiecutter/cookiecutter ) 实现.
15
15
16
16
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
+
17
35
## quickstart:
18
36
19
37
### install:
@@ -30,9 +48,7 @@ sudo apt-get install cookiecutter
30
48
31
49
```
32
50
33
-
34
-
35
- ### feature:
51
+ ### best practice:
36
52
37
53
38
54
- [x] choice 1: create ` mono-repo ` + ` single-app `
@@ -56,11 +72,15 @@ sudo apt-get install cookiecutter
56
72
57
73
cd your-workspace/
58
74
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 项目根目录
60
80
cookiecutter https://github.com/better-go/cookiecutter-go.git --directory=" mono-repo/gin"
61
81
62
82
63
- # 在当前目录下, 创建mono repo 项目根目录: 使用 go-micro
83
+ # 在当前目录下, 创建 go-micro mono repo 项目根目录
64
84
cookiecutter https://github.com/better-go/cookiecutter-go.git --directory=" mono-repo/go-micro"
65
85
66
86
You can’t perform that action at this time.
0 commit comments