From 136fe3257125e2c4d06aba0b49b02bca03e65829 Mon Sep 17 00:00:00 2001 From: algotao Date: Fri, 28 Mar 2025 19:10:17 +0800 Subject: [PATCH] =?UTF-8?q?go=20proto=20=E6=94=BE=E5=88=B0=E9=A1=B6?= =?UTF-8?q?=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/saascmd/cmd.pb.go => cmd.pb.go | 0 proto/saascmd/cmd.proto | 2 +- proto/saascmd/makeproto.sh | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename proto/saascmd/cmd.pb.go => cmd.pb.go (100%) diff --git a/proto/saascmd/cmd.pb.go b/cmd.pb.go similarity index 100% rename from proto/saascmd/cmd.pb.go rename to cmd.pb.go diff --git a/proto/saascmd/cmd.proto b/proto/saascmd/cmd.proto index 0011d58..a2212f8 100644 --- a/proto/saascmd/cmd.proto +++ b/proto/saascmd/cmd.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package saascmd; +package saasapi; option go_package = "./saascmd"; diff --git a/proto/saascmd/makeproto.sh b/proto/saascmd/makeproto.sh index 6fae893..f7c3970 100755 --- a/proto/saascmd/makeproto.sh +++ b/proto/saascmd/makeproto.sh @@ -1 +1 @@ -protoc --proto_path=. *.proto --go_out=. --go_opt=paths=source_relative \ No newline at end of file +protoc --proto_path=. *.proto --go_out=../../ --go_opt=paths=source_relative \ No newline at end of file