-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.MD
More file actions
27 lines (25 loc) · 717 Bytes
/
README.MD
File metadata and controls
27 lines (25 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# GoFrame
refer to https://goframe.org
## gf-web
### gen ctrl
> Generate controller by defining API layer parameters
>
```shell
# Generate the corresponding ctrl and merge the ctrl in the same package into one
gf gen ctrl --merge=true
```
### gen dao
> Generate corresponding entity/do/dao by defining database tables
>
hack/config.yaml Define the generated path in the file (if there is a need for sub-modules)
```shell
gf gen dao
```
### gen service
> Generate the corresponding service by defining the business logic in logic and inject it
>
hack/config.yaml Define the generated path in the file (if there is a need for sub-modules)
```shell
gf gen service
```
## Support common CURD, PAGE, TX, ORM operations