refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package relation
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -25,7 +24,7 @@ var File_module_social_relation_proto_match_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_social_relation_proto_match_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"(module/social/relation/proto/match.proto\x12\brelation\x1a\x15protobuf/blocks.proto2\xf5\x01\n" +
|
||||
"(module/social/relation/proto/match.proto\x12\brelation\x1a(module/social/relation/proto/const.proto2\xf5\x01\n" +
|
||||
"\x05Match\x12?\n" +
|
||||
"\x05Fetch\x12\x14.blocks.FetchRequest\x1a\x1e.blocks.FetchRelationItemReply\"\x00\x123\n" +
|
||||
"\x03Get\x12\x14.blocks.IdentRequest\x1a\x14.blocks.RelationItem\"\x00\x129\n" +
|
||||
@@ -33,11 +32,11 @@ const file_module_social_relation_proto_match_proto_rawDesc = "" +
|
||||
"\bDoIgnore\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00B-Z+bsm/full/module/social/relation/pb;relationb\x06proto3"
|
||||
|
||||
var file_module_social_relation_proto_match_proto_goTypes = []any{
|
||||
(*protobuf.FetchRequest)(nil), // 0: blocks.FetchRequest
|
||||
(*protobuf.IdentRequest)(nil), // 1: blocks.IdentRequest
|
||||
(*protobuf.FetchRelationItemReply)(nil), // 2: blocks.FetchRelationItemReply
|
||||
(*protobuf.RelationItem)(nil), // 3: blocks.RelationItem
|
||||
(*protobuf.DataStatusReply)(nil), // 4: blocks.DataStatusReply
|
||||
(*FetchRequest)(nil), // 0: blocks.FetchRequest
|
||||
(*IdentRequest)(nil), // 1: blocks.IdentRequest
|
||||
(*FetchRelationItemReply)(nil), // 2: blocks.FetchRelationItemReply
|
||||
(*RelationItem)(nil), // 3: blocks.RelationItem
|
||||
(*DataStatusReply)(nil), // 4: blocks.DataStatusReply
|
||||
}
|
||||
var file_module_social_relation_proto_match_proto_depIdxs = []int32{
|
||||
0, // 0: relation.Match.Fetch:input_type -> blocks.FetchRequest
|
||||
@@ -60,6 +59,7 @@ func file_module_social_relation_proto_match_proto_init() {
|
||||
if File_module_social_relation_proto_match_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_social_relation_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user