From e4d811d2f3d2f79c9d2c1f33377d897ea8dd0caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8F=AF?= Date: Thu, 23 Mar 2023 13:55:59 +0800 Subject: [PATCH] remove helloworld.pb.go to test file --- ...helloworld.pb.go => helloworld.pb_test.go} | 0 pkg/util/xfieldmask/helloworld.proto | 47 ------------------- 2 files changed, 47 deletions(-) rename pkg/util/xfieldmask/{helloworld.pb.go => helloworld.pb_test.go} (100%) delete mode 100644 pkg/util/xfieldmask/helloworld.proto diff --git a/pkg/util/xfieldmask/helloworld.pb.go b/pkg/util/xfieldmask/helloworld.pb_test.go similarity index 100% rename from pkg/util/xfieldmask/helloworld.pb.go rename to pkg/util/xfieldmask/helloworld.pb_test.go diff --git a/pkg/util/xfieldmask/helloworld.proto b/pkg/util/xfieldmask/helloworld.proto deleted file mode 100644 index db48b67bdb..0000000000 --- a/pkg/util/xfieldmask/helloworld.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; - -option go_package = "github.com/douyu/jupiter/xfieldmask;xfieldmask"; - -package xfieldmask; - -// The greeting service definition. -service GreeterService { - // Sends a hello greeting - rpc SayHello (SayHelloRequest) returns (SayHelloResponse) {} -} -// The request message containing the user's name. -message SayHelloRequest { - // name ... - string name = 1; -} - -// The response message containing the greetings -message SayHelloResponse { - // Data is the data to be sent. - message Data { - // name of the user - string name = 1; - // age_number is the age number. - uint64 age_number = 2; - // sex is the user's sex - Sex sex = 3; - // metadata is the user's metadata - map metadata = 4; - } - // error - uint32 error = 1; - // msg - string msg = 2; - // data ... - Data data = 3; -} - -// Sex -enum Sex { - // SEX_UNSPECIFIED ... - SEX_UNSPECIFIED = 0; - // SEX_MALE ... - SEX_MALE = 1; - // SEX_FEMALE ... - SEX_FEMALE = 2; -}