package
0.12.5
Repository: https://github.com/issue9/source.git
Documentation: pkg.go.dev

# Functions

Dump 格式化并输出 Go 源码到 path.
DumpFromTemplate 根据模板内容生成代码.
DumpFromTemplateFile 根据 tplFile 指向的模板内容生成代码.
GoDefine 返回对象 v 在 Go 源码中的定义方式 对于结构类型会自动展开。 t 需要转换的类型; m 需要特殊定义的类型,可以为空; c 为对象的字段生成注释,可以为空; unexported 是否导出小写字段;.