package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: May 20, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Generate 在entityPath目录下运行代码生成器。
如果 entity的路径是 `<project>/entity`,则生成的代码将放在 `<project>/entity`目录下。
Params:
- entityPath: entity package的路径。例如`<project>/entity`。
- cfg: 代码生成的配置
- options: 代码生成的选项,用于回调函数
LoadBuilder 根据提供的路径加载entity package,并生成一个schema。
Params:
- entityPath: entity package的路径
- cfg: 代码生成的配置
Returns:
Extra 用于在Config中添加额外的配置的回调函数。
TemplateDir 解析目录类型的模版。
Params:
Returns:
0: Extra函数。
TemplateFiles 解析文件类型的模版
Params:
Returns:
0: Extra函数。
TemplateGlob 解析glob模式下的文件
Params:
Returns:
0: Extra函数。
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.