refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package passport
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -130,7 +129,7 @@ var File_module_base_passport_proto_forget_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_base_passport_proto_forget_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"'module/base/passport/proto/forget.proto\x12\bpassport\x1a\x15protobuf/blocks.proto\"?\n" +
|
||||
"'module/base/passport/proto/forget.proto\x12\bpassport\x1a&module/base/passport/proto/const.proto\"?\n" +
|
||||
"\x13ForgetVerifyRequest\x12\x14\n" +
|
||||
"\x05phone\x18\x01 \x01(\tR\x05phone\x12\x12\n" +
|
||||
"\x04code\x18\x02 \x01(\tR\x04code\"L\n" +
|
||||
@@ -155,9 +154,9 @@ func file_module_base_passport_proto_forget_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_base_passport_proto_forget_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_module_base_passport_proto_forget_proto_goTypes = []any{
|
||||
(*ForgetVerifyRequest)(nil), // 0: passport.ForgetVerifyRequest
|
||||
(*ForgetResetRequest)(nil), // 1: passport.ForgetResetRequest
|
||||
(*protobuf.StatusReply)(nil), // 2: blocks.StatusReply
|
||||
(*ForgetVerifyRequest)(nil), // 0: passport.ForgetVerifyRequest
|
||||
(*ForgetResetRequest)(nil), // 1: passport.ForgetResetRequest
|
||||
(*StatusReply)(nil), // 2: blocks.StatusReply
|
||||
}
|
||||
var file_module_base_passport_proto_forget_proto_depIdxs = []int32{
|
||||
0, // 0: passport.Forget.Verify:input_type -> passport.ForgetVerifyRequest
|
||||
@@ -176,6 +175,7 @@ func file_module_base_passport_proto_forget_proto_init() {
|
||||
if File_module_base_passport_proto_forget_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_base_passport_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user