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"
|
||||
@@ -180,7 +179,7 @@ var File_module_ec_mall_proto_notice_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_mall_proto_notice_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"!module/ec/mall/proto/notice.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"M\n" +
|
||||
"!module/ec/mall/proto/notice.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"M\n" +
|
||||
"\x0fNoticeListReply\x12$\n" +
|
||||
"\x04data\x18\x01 \x03(\v2\x10.mall.NoticeItemR\x04data\x12\x14\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count\"\xec\x01\n" +
|
||||
@@ -216,11 +215,11 @@ func file_module_ec_mall_proto_notice_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_mall_proto_notice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_module_ec_mall_proto_notice_proto_goTypes = []any{
|
||||
(*NoticeListReply)(nil), // 0: mall.NoticeListReply
|
||||
(*NoticeItem)(nil), // 1: mall.NoticeItem
|
||||
(*protobuf.MallFetchRequest)(nil), // 2: blocks.MallFetchRequest
|
||||
(*protobuf.IdentRequest)(nil), // 3: blocks.IdentRequest
|
||||
(*protobuf.IdentityStatusReply)(nil), // 4: blocks.IdentityStatusReply
|
||||
(*NoticeListReply)(nil), // 0: mall.NoticeListReply
|
||||
(*NoticeItem)(nil), // 1: mall.NoticeItem
|
||||
(*MallFetchRequest)(nil), // 2: blocks.MallFetchRequest
|
||||
(*IdentRequest)(nil), // 3: blocks.IdentRequest
|
||||
(*IdentityStatusReply)(nil), // 4: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_module_ec_mall_proto_notice_proto_depIdxs = []int32{
|
||||
1, // 0: mall.NoticeListReply.data:type_name -> mall.NoticeItem
|
||||
@@ -244,6 +243,7 @@ func file_module_ec_mall_proto_notice_proto_init() {
|
||||
if File_module_ec_mall_proto_notice_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