refer to https://goframe.org
Generate controller by defining API layer parameters
# Generate the corresponding ctrl and merge the ctrl in the same package into one
gf gen ctrl --merge=true
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)
gf gen dao
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)
gf gen service