Documentation ¶
Index ¶
- func BigHump(str string) string
- func ExistRemarkField(cfg *CodeGenConfig) bool
- func ExistStatusField(cfg *CodeGenConfig) bool
- func GenController(cfg *CodeGenConfig, packageName string, sys bool) string
- func GenDao(cfg *CodeGenConfig, packageName string, sys bool) string
- func GenEditVue(cfg *CodeGenConfig, packageName string) string
- func GenListVue(cfg *CodeGenConfig, packageName string) string
- func GenPO(cfg *CodeGenConfig, packageName string, sys bool) string
- func GenRouter(cfg *CodeGenConfig, packageName string, sys bool) string
- func GenService(cfg *CodeGenConfig, packageName string, sys bool) string
- func GoLangTypeMapping(fileName, dbType string) string
- func SmallHump(str string) string
- func WriteFile(content, path, fileName string)
- type CodeGenConfig
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenController ¶
func GenController(cfg *CodeGenConfig, packageName string, sys bool) string
GenController 生成Controller
func GenEditVue ¶
func GenEditVue(cfg *CodeGenConfig, packageName string) string
GenEditVue 生成编辑页Vue
func GenListVue ¶
func GenListVue(cfg *CodeGenConfig, packageName string) string
GenListVue 生成列表页Vue
func GenRouter ¶
func GenRouter(cfg *CodeGenConfig, packageName string, sys bool) string
GenRouter 生成Router
func GenService ¶
func GenService(cfg *CodeGenConfig, packageName string, sys bool) string
GenService 生成Service
func GoLangTypeMapping ¶
GoLangTypeMapping 数据库类型映射
Types ¶
Click to show internal directories.
Click to hide internal directories.