gogf / gf

GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
https://goframe.org
MIT License
11.64k stars 1.59k forks source link

Simplify #3717

Open HHC26 opened 3 months ago

HHC26 commented 3 months ago

What do you want to ask?

Can we further optimize the overall performance? Because reducing the generation of some files can make the entire project smaller and more streamlined

hailaz commented 3 months ago

能否举些例子,细说具体方向或模块?

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you give some examples and elaborate on specific directions or modules?

HHC26 commented 1 month ago

能否举一些例子,细说具体方向或模块?

例如: 编写中大型项目时,使用gf ctrl 等指令 会生成较多的文件,部分文件名生成的很长,编译运行的时间也比较长

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you give some examples and elaborate on specific directions or modules?

For example: When writing medium and large projects, using instructions such as gf ctrl will generate more files, some of the file names will be very long, and the compilation and running time will also be relatively long.

gqcn commented 3 weeks ago

能否举一些例子,细说具体方向或模块?

例如: 编写中大型项目时,使用gf ctrl 等指令 会生成较多的文件,部分文件名生成的很长,编译运行的时间也比较长

gf ctrl不是开发项目的必须指令,请根据场景选择使用。针对复杂API项目,其实一个API对应一个控制器会更好管理一些,看个人选择。

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you give some examples and elaborate on specific directions or modules?

For example: When writing medium and large projects, using instructions such as gf ctrl will generate more files, some file names will be very long, and the compilation and running time will also be relatively long.

gf ctrl is not a necessary command for development projects. Please choose to use it according to the scenario. For complex API projects, it is actually better to manage one API corresponding to one controller. It depends on personal choice.