#629·go-admin

[优化] 代码生生成器优化

作者: a6652162创建于 2024年7月17日更新于 2025年8月13日

Requirements description [Please describe the requirements in detail so that everyone can understand] When writing SetPreProcessFn, SetInsertFn, and other functions in the code generator, you need to use the func(values form.Values) method, and also need to refer to the package: GitHub.com/GoAdminGroup/go-admin/plugins/admin/modules/form However, in the default generated code, there is already a package: GitHub.com/GoAdminGroup/go-admin/template/types/form The package names conflict, and it is not possible to rename the imported packages in the code generator, which makes it inconvenient for me to re-import the packages each time.

内容来源: GoAdminGroup/go-admin