Skip to content

Commit 84fd5b1

Browse files
committed
README.md
1 parent 251c3de commit 84fd5b1

File tree

1 file changed

+11
-42
lines changed

1 file changed

+11
-42
lines changed

README.md

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#### v0.0.1
44

5+
![首页](https://github.com/sunzhonghui/go-code-generator/blob/master/resource/images/main.png?raw=true)
6+
57
### 简介
68

79
> 采用Fyne 编写的Gui客户端,跨平台编译
@@ -14,55 +16,22 @@
1416
1517
### 依赖组件
1618

17-
- gorm-v2
18-
- gin
19-
- gin-swagger
20-
21-
### 生成的结构
22-
23-
现在生成的类型
24-
25-
- model
26-
- mapper
27-
- service
28-
- api
29-
- router
30-
31-
生成的目录结构 会生成在当前程序运行目录 gen-code/ 下
32-
33-
------router
34-
35-
------project
36-
37-
----模块1
19+
- gorm-v2 [https://github.com/go-gorm/gorm](https://github.com/go-gorm/gorm)
20+
- gin-gonic [https://github.com/gin-gonic/gin](https://github.com/gin-gonic/gin)
21+
- swaggo [https://github.com/swaggo/swag](https://github.com/swaggo/swag)
3822

39-
--model
23+
### 自动加载配置
4024

41-
--mapper
25+
项目启动的时候会自动加载配置到 /resource 下
4226

43-
--service
27+
font/ 字体文件
28+
temp/ 模板文件
29+
conf.yaml 默认配置文件
4430

45-
--api
46-
47-
----模块2
48-
49-
--model
50-
51-
--mapper
52-
53-
--service
54-
55-
--api
31+
### 配置
5632

5733
……
5834

59-
### 动态模板
60-
61-
可以根据不同架构自行编辑生成模板文件
62-
63-
模板文件会在项目启动的时候
64-
65-
自动装载到当前程序运行目录 temp/ 下
6635

6736

6837

0 commit comments

Comments
 (0)