Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ShowOnly bool
Functions ¶
func GenerateOne ¶
GenerateOne 仅生成一个指定路径的代码
func GenerateWalk ¶
GenerateWalk 遍历root目录下所有的文件,根据生成器acceptSuffix去匹配它们的文件名 如果匹配到了,执行生成逻辑生成对应的代码
Types ¶
type AfterFunc ¶
type AfterFunc func(compile.CompileResult)
Click to show internal directories.
Click to hide internal directories.