This commit is contained in:
aozhiwei 2023-08-11 14:55:10 +08:00
parent 8c6afdb5e2
commit b5caf9fdb0
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,3 @@
package mtb

View File

@ -58,6 +58,7 @@ class PBTools {
);
}
await this.genCsAutoGen();
await this.genMtAutoGen();
}
async genCsAutoGen() {
@ -169,6 +170,15 @@ func init() {
}`;
fs.writeFileSync('./cs/cs.auto_gen.go', data);
}
async genMtAutoGen() {
let data = `package mtb
`;
fs.writeFileSync('./mtb/mtb.auto_gen.go', data);
}
}
(new PBTools).init();