refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package group
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -258,7 +257,7 @@ var File_module_social_group_proto_group_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_social_group_proto_group_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"%module/social/group/proto/group.proto\x12\x05group\x1a\x15protobuf/blocks.proto\"\x94\x04\n" +
|
||||
"%module/social/group/proto/group.proto\x12\x05group\x1a%module/social/group/proto/const.proto\"\x94\x04\n" +
|
||||
"\tGroupItem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x16\n" +
|
||||
@@ -308,12 +307,12 @@ func file_module_social_group_proto_group_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_social_group_proto_group_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_module_social_group_proto_group_proto_goTypes = []any{
|
||||
(*GroupItem)(nil), // 0: group.GroupItem
|
||||
(*GroupsReply)(nil), // 1: group.GroupsReply
|
||||
(*protobuf.SearchRequest)(nil), // 2: blocks.SearchRequest
|
||||
(*protobuf.Empty)(nil), // 3: blocks.Empty
|
||||
(*protobuf.IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*protobuf.DataStatusReply)(nil), // 5: blocks.DataStatusReply
|
||||
(*GroupItem)(nil), // 0: group.GroupItem
|
||||
(*GroupsReply)(nil), // 1: group.GroupsReply
|
||||
(*SearchRequest)(nil), // 2: blocks.SearchRequest
|
||||
(*Empty)(nil), // 3: blocks.Empty
|
||||
(*IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*DataStatusReply)(nil), // 5: blocks.DataStatusReply
|
||||
}
|
||||
var file_module_social_group_proto_group_proto_depIdxs = []int32{
|
||||
0, // 0: group.GroupsReply.groups:type_name -> group.GroupItem
|
||||
@@ -341,6 +340,7 @@ func file_module_social_group_proto_group_proto_init() {
|
||||
if File_module_social_group_proto_group_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_social_group_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user