refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package market
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -234,7 +233,7 @@ var File_module_ec_market_proto_supply_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_market_proto_supply_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#module/ec/market/proto/supply.proto\x12\x06market\x1a\x15protobuf/blocks.proto\"\x9e\x03\n" +
|
||||
"#module/ec/market/proto/supply.proto\x12\x06market\x1a\"module/ec/market/proto/const.proto\"\x9e\x03\n" +
|
||||
"\x10MarketSupplyItem\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
|
||||
"\x06avatar\x18\x02 \x01(\tR\x06avatar\x12(\n" +
|
||||
@@ -276,11 +275,11 @@ func file_module_ec_market_proto_supply_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_market_proto_supply_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_module_ec_market_proto_supply_proto_goTypes = []any{
|
||||
(*MarketSupplyItem)(nil), // 0: market.MarketSupplyItem
|
||||
(*SupplyReply)(nil), // 1: market.SupplyReply
|
||||
(*protobuf.IdentRequest)(nil), // 2: blocks.IdentRequest
|
||||
(*protobuf.MarketFetchRequest)(nil), // 3: blocks.MarketFetchRequest
|
||||
(*protobuf.IdentityStatusReply)(nil), // 4: blocks.IdentityStatusReply
|
||||
(*MarketSupplyItem)(nil), // 0: market.MarketSupplyItem
|
||||
(*SupplyReply)(nil), // 1: market.SupplyReply
|
||||
(*IdentRequest)(nil), // 2: blocks.IdentRequest
|
||||
(*MarketFetchRequest)(nil), // 3: blocks.MarketFetchRequest
|
||||
(*IdentityStatusReply)(nil), // 4: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_module_ec_market_proto_supply_proto_depIdxs = []int32{
|
||||
0, // 0: market.SupplyReply.data:type_name -> market.MarketSupplyItem
|
||||
@@ -306,6 +305,7 @@ func file_module_ec_market_proto_supply_proto_init() {
|
||||
if File_module_ec_market_proto_supply_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_ec_market_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user