refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

View File

@@ -1,12 +1,13 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: setting.proto
// protoc-gen-go v1.36.11
// protoc v7.35.0
// source: module/social/feed/proto/setting.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,23 +21,23 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_setting_proto protoreflect.FileDescriptor
var File_module_social_feed_proto_setting_proto protoreflect.FileDescriptor
const file_setting_proto_rawDesc = "" +
const file_module_social_feed_proto_setting_proto_rawDesc = "" +
"\n" +
"\x19social/feed/setting.proto\x12\x04feed\x1a\x11feed/blocks.proto2S\n" +
"\aSetting\x12\"\n" +
"\x04Info\x12\v.feed.Empty\x1a\v.feed.Empty\"\x00\x12$\n" +
"\x06Rights\x12\v.feed.Empty\x1a\v.feed.Empty\"\x00B\bZ\x06.;feedb\x06proto3"
"&module/social/feed/proto/setting.proto\x12\x04feed\x1a\x15protobuf/blocks.proto2[\n" +
"\aSetting\x12&\n" +
"\x04Info\x12\r.blocks.Empty\x1a\r.blocks.Empty\"\x00\x12(\n" +
"\x06Rights\x12\r.blocks.Empty\x1a\r.blocks.Empty\"\x00B%Z#bsm/full/module/social/feed/pb;feedb\x06proto3"
var file_setting_proto_goTypes = []any{
(*Empty)(nil), // 0: feed.Empty
var file_module_social_feed_proto_setting_proto_goTypes = []any{
(*protobuf.Empty)(nil), // 0: blocks.Empty
}
var file_setting_proto_depIdxs = []int32{
0, // 0: feed.Setting.Info:input_type -> feed.Empty
0, // 1: feed.Setting.Rights:input_type -> feed.Empty
0, // 2: feed.Setting.Info:output_type -> feed.Empty
0, // 3: feed.Setting.Rights:output_type -> feed.Empty
var file_module_social_feed_proto_setting_proto_depIdxs = []int32{
0, // 0: feed.Setting.Info:input_type -> blocks.Empty
0, // 1: feed.Setting.Rights:input_type -> blocks.Empty
0, // 2: feed.Setting.Info:output_type -> blocks.Empty
0, // 3: feed.Setting.Rights:output_type -> blocks.Empty
2, // [2:4] is the sub-list for method output_type
0, // [0:2] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
@@ -44,26 +45,25 @@ var file_setting_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for field type_name
}
func init() { file_setting_proto_init() }
func file_setting_proto_init() {
if File_setting_proto != nil {
func init() { file_module_social_feed_proto_setting_proto_init() }
func file_module_social_feed_proto_setting_proto_init() {
if File_module_social_feed_proto_setting_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_setting_proto_rawDesc), len(file_setting_proto_rawDesc)),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_social_feed_proto_setting_proto_rawDesc), len(file_module_social_feed_proto_setting_proto_rawDesc)),
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_setting_proto_goTypes,
DependencyIndexes: file_setting_proto_depIdxs,
GoTypes: file_module_social_feed_proto_setting_proto_goTypes,
DependencyIndexes: file_module_social_feed_proto_setting_proto_depIdxs,
}.Build()
File_setting_proto = out.File
file_setting_proto_goTypes = nil
file_setting_proto_depIdxs = nil
File_module_social_feed_proto_setting_proto = out.File
file_module_social_feed_proto_setting_proto_goTypes = nil
file_module_social_feed_proto_setting_proto_depIdxs = nil
}