refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package feed
|
||||
|
||||
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_feed_proto_timeline_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_social_feed_proto_timeline_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"'module/social/feed/proto/timeline.proto\x12\x04feed\x1a\x15protobuf/blocks.proto2\xfe\x01\n" +
|
||||
"'module/social/feed/proto/timeline.proto\x12\x04feed\x1a$module/social/feed/proto/const.proto2\xfe\x01\n" +
|
||||
"\bTimeline\x12>\n" +
|
||||
"\tRecommend\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00\x12;\n" +
|
||||
"\x06Friend\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00\x12;\n" +
|
||||
@@ -33,8 +32,8 @@ const file_module_social_feed_proto_timeline_proto_rawDesc = "" +
|
||||
"\x03Hot\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00B%Z#bsm/full/module/social/feed/pb;feedb\x06proto3"
|
||||
|
||||
var file_module_social_feed_proto_timeline_proto_goTypes = []any{
|
||||
(*protobuf.FetchRequest)(nil), // 0: blocks.FetchRequest
|
||||
(*protobuf.FeedPostListReply)(nil), // 1: blocks.FeedPostListReply
|
||||
(*FetchRequest)(nil), // 0: blocks.FetchRequest
|
||||
(*FeedPostListReply)(nil), // 1: blocks.FeedPostListReply
|
||||
}
|
||||
var file_module_social_feed_proto_timeline_proto_depIdxs = []int32{
|
||||
0, // 0: feed.Timeline.Recommend:input_type -> blocks.FetchRequest
|
||||
@@ -57,6 +56,7 @@ func file_module_social_feed_proto_timeline_proto_init() {
|
||||
if File_module_social_feed_proto_timeline_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_social_feed_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user