refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package mall
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -286,7 +285,7 @@ var File_module_ec_mall_proto_category_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_mall_proto_category_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#module/ec/mall/proto/category.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"\x80\x01\n" +
|
||||
"#module/ec/mall/proto/category.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"\x80\x01\n" +
|
||||
"\x14CategoryFetchRequest\x12\x14\n" +
|
||||
"\x05types\x18\x01 \x01(\tR\x05types\x12\x1a\n" +
|
||||
"\bkeywords\x18\x02 \x01(\tR\bkeywords\x12\x0e\n" +
|
||||
@@ -334,11 +333,11 @@ func file_module_ec_mall_proto_category_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_mall_proto_category_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_module_ec_mall_proto_category_proto_goTypes = []any{
|
||||
(*CategoryFetchRequest)(nil), // 0: mall.CategoryFetchRequest
|
||||
(*CategoryReply)(nil), // 1: mall.CategoryReply
|
||||
(*CategoryItem)(nil), // 2: mall.CategoryItem
|
||||
(*protobuf.IdentRequest)(nil), // 3: blocks.IdentRequest
|
||||
(*protobuf.IdentityStatusReply)(nil), // 4: blocks.IdentityStatusReply
|
||||
(*CategoryFetchRequest)(nil), // 0: mall.CategoryFetchRequest
|
||||
(*CategoryReply)(nil), // 1: mall.CategoryReply
|
||||
(*CategoryItem)(nil), // 2: mall.CategoryItem
|
||||
(*IdentRequest)(nil), // 3: blocks.IdentRequest
|
||||
(*IdentityStatusReply)(nil), // 4: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_module_ec_mall_proto_category_proto_depIdxs = []int32{
|
||||
2, // 0: mall.CategoryReply.data:type_name -> mall.CategoryItem
|
||||
@@ -363,6 +362,7 @@ func file_module_ec_mall_proto_category_proto_init() {
|
||||
if File_module_ec_mall_proto_category_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_ec_mall_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user