This commit is contained in:
yanweidong 2025-09-06 20:51:24 +08:00
parent 0227a0c384
commit 8c12160173
1 changed files with 3 additions and 3 deletions

View File

@ -27,15 +27,15 @@ func main() {
gen.SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL) gen.SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL)
if !utils.PathExists("./internal") { if !utils.PathExists("./internal") {
os.MkdirAll("./internal", 777) os.MkdirAll("./internal", 0755)
} }
if !utils.PathExists("./internal/server") { if !utils.PathExists("./internal/server") {
os.MkdirAll("./internal/server", 777) os.MkdirAll("./internal/server", 0755)
} }
if !utils.PathExists("./internal/logic") { if !utils.PathExists("./internal/logic") {
os.MkdirAll("./internal/logic", 777) os.MkdirAll("./internal/logic", 0755)
} }
for _, f := range gen.Files { for _, f := range gen.Files {