day day up

This commit is contained in:
谢小军
2020-01-08 20:21:30 +08:00
parent 0a32dfe0e3
commit 204164e8b9
9 changed files with 90 additions and 20 deletions

View File

@@ -176,6 +176,11 @@ func (p *GenPackage) Generate() string {
return strOut
}
// AddFuncStr add func coding string.添加函数串
func (p *GenPackage) AddFuncStr(src string) {
p.FuncStrList = append(p.FuncStrList, src)
}
// compensate and import .获取结果数据
func (p *GenPackage) genimport() {
for _, v := range p.Structs {