refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.8
|
||||
// protoc (unknown)
|
||||
// source: timeline.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/social/feed/proto/timeline.proto
|
||||
|
||||
package feed
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -20,30 +21,30 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
var File_timeline_proto protoreflect.FileDescriptor
|
||||
var File_module_social_feed_proto_timeline_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_timeline_proto_rawDesc = "" +
|
||||
const file_module_social_feed_proto_timeline_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1asocial/feed/timeline.proto\x12\x04feed\x1a\x11feed/blocks.proto2\xde\x01\n" +
|
||||
"\bTimeline\x126\n" +
|
||||
"\tRecommend\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00\x123\n" +
|
||||
"\x06Friend\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00\x123\n" +
|
||||
"\x06Follow\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00\x120\n" +
|
||||
"\x03Hot\x12\x12.feed.FetchRequest\x1a\x13.feed.PostListReply\"\x00B\bZ\x06.;feedb\x06proto3"
|
||||
"'module/social/feed/proto/timeline.proto\x12\x04feed\x1a\x15protobuf/blocks.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" +
|
||||
"\x06Follow\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00\x128\n" +
|
||||
"\x03Hot\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00B%Z#bsm/full/module/social/feed/pb;feedb\x06proto3"
|
||||
|
||||
var file_timeline_proto_goTypes = []any{
|
||||
(*FetchRequest)(nil), // 0: feed.FetchRequest
|
||||
(*PostListReply)(nil), // 1: feed.PostListReply
|
||||
var file_module_social_feed_proto_timeline_proto_goTypes = []any{
|
||||
(*protobuf.FetchRequest)(nil), // 0: blocks.FetchRequest
|
||||
(*protobuf.FeedPostListReply)(nil), // 1: blocks.FeedPostListReply
|
||||
}
|
||||
var file_timeline_proto_depIdxs = []int32{
|
||||
0, // 0: feed.Timeline.Recommend:input_type -> feed.FetchRequest
|
||||
0, // 1: feed.Timeline.Friend:input_type -> feed.FetchRequest
|
||||
0, // 2: feed.Timeline.Follow:input_type -> feed.FetchRequest
|
||||
0, // 3: feed.Timeline.Hot:input_type -> feed.FetchRequest
|
||||
1, // 4: feed.Timeline.Recommend:output_type -> feed.PostListReply
|
||||
1, // 5: feed.Timeline.Friend:output_type -> feed.PostListReply
|
||||
1, // 6: feed.Timeline.Follow:output_type -> feed.PostListReply
|
||||
1, // 7: feed.Timeline.Hot:output_type -> feed.PostListReply
|
||||
var file_module_social_feed_proto_timeline_proto_depIdxs = []int32{
|
||||
0, // 0: feed.Timeline.Recommend:input_type -> blocks.FetchRequest
|
||||
0, // 1: feed.Timeline.Friend:input_type -> blocks.FetchRequest
|
||||
0, // 2: feed.Timeline.Follow:input_type -> blocks.FetchRequest
|
||||
0, // 3: feed.Timeline.Hot:input_type -> blocks.FetchRequest
|
||||
1, // 4: feed.Timeline.Recommend:output_type -> blocks.FeedPostListReply
|
||||
1, // 5: feed.Timeline.Friend:output_type -> blocks.FeedPostListReply
|
||||
1, // 6: feed.Timeline.Follow:output_type -> blocks.FeedPostListReply
|
||||
1, // 7: feed.Timeline.Hot:output_type -> blocks.FeedPostListReply
|
||||
4, // [4:8] is the sub-list for method output_type
|
||||
0, // [0:4] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
@@ -51,26 +52,25 @@ var file_timeline_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_timeline_proto_init() }
|
||||
func file_timeline_proto_init() {
|
||||
if File_timeline_proto != nil {
|
||||
func init() { file_module_social_feed_proto_timeline_proto_init() }
|
||||
func file_module_social_feed_proto_timeline_proto_init() {
|
||||
if File_module_social_feed_proto_timeline_proto != nil {
|
||||
return
|
||||
}
|
||||
file_blocks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_timeline_proto_rawDesc), len(file_timeline_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_social_feed_proto_timeline_proto_rawDesc), len(file_module_social_feed_proto_timeline_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_timeline_proto_goTypes,
|
||||
DependencyIndexes: file_timeline_proto_depIdxs,
|
||||
GoTypes: file_module_social_feed_proto_timeline_proto_goTypes,
|
||||
DependencyIndexes: file_module_social_feed_proto_timeline_proto_depIdxs,
|
||||
}.Build()
|
||||
File_timeline_proto = out.File
|
||||
file_timeline_proto_goTypes = nil
|
||||
file_timeline_proto_depIdxs = nil
|
||||
File_module_social_feed_proto_timeline_proto = out.File
|
||||
file_module_social_feed_proto_timeline_proto_goTypes = nil
|
||||
file_module_social_feed_proto_timeline_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user