修改proto文件编译逻辑;修改status.proto导出包路径

This commit is contained in:
joylink_zhangsai 2023-08-30 13:13:21 +08:00
parent 237beec2bf
commit 6d3e7661e3
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ func main() {
{
protocPath = filepath.Join(basePath, "protoc-23.1", "bin", "win64", "protoc")
protoFolder = filepath.Join(basePath, "src", args[1])
goOutDir = "../components"
goOutDir = "../"
}
}

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package cstate;
option go_package = "./cstate";
option go_package = "./components/cstate";
//仿ecs组件相关定义