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"
|
||||
@@ -231,7 +230,7 @@ var File_module_ec_mall_proto_ads_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_mall_proto_ads_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1emodule/ec/mall/proto/ads.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"P\n" +
|
||||
"\x1emodule/ec/mall/proto/ads.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"P\n" +
|
||||
"\fByPosRequest\x12\x18\n" +
|
||||
"\apos_key\x18\x01 \x03(\tR\apos_key\x12&\n" +
|
||||
"\x0estore_identity\x18\x02 \x01(\tR\x0estore_identity\"G\n" +
|
||||
@@ -270,12 +269,12 @@ func file_module_ec_mall_proto_ads_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_mall_proto_ads_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_module_ec_mall_proto_ads_proto_goTypes = []any{
|
||||
(*ByPosRequest)(nil), // 0: mall.ByPosRequest
|
||||
(*AdsListReply)(nil), // 1: mall.AdsListReply
|
||||
(*AdsItem)(nil), // 2: mall.AdsItem
|
||||
(*protobuf.MallFetchRequest)(nil), // 3: blocks.MallFetchRequest
|
||||
(*protobuf.IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*protobuf.IdentityStatusReply)(nil), // 5: blocks.IdentityStatusReply
|
||||
(*ByPosRequest)(nil), // 0: mall.ByPosRequest
|
||||
(*AdsListReply)(nil), // 1: mall.AdsListReply
|
||||
(*AdsItem)(nil), // 2: mall.AdsItem
|
||||
(*MallFetchRequest)(nil), // 3: blocks.MallFetchRequest
|
||||
(*IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*IdentityStatusReply)(nil), // 5: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_module_ec_mall_proto_ads_proto_depIdxs = []int32{
|
||||
2, // 0: mall.AdsListReply.data:type_name -> mall.AdsItem
|
||||
@@ -301,6 +300,7 @@ func file_module_ec_mall_proto_ads_proto_init() {
|
||||
if File_module_ec_mall_proto_ads_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