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"
|
||||
@@ -446,7 +445,7 @@ var File_module_ec_market_proto_agency_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_market_proto_agency_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#module/ec/market/proto/agency.proto\x12\x06market\x1a\x15protobuf/blocks.proto\"\\\n" +
|
||||
"#module/ec/market/proto/agency.proto\x12\x06market\x1a\"module/ec/market/proto/const.proto\"\\\n" +
|
||||
"\fLoginRequest\x12\x18\n" +
|
||||
"\aaccount\x18\x01 \x01(\tR\aaccount\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x16\n" +
|
||||
@@ -510,15 +509,15 @@ func file_module_ec_market_proto_agency_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_market_proto_agency_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_module_ec_market_proto_agency_proto_goTypes = []any{
|
||||
(*LoginRequest)(nil), // 0: market.LoginRequest
|
||||
(*MarketAgenctyItem)(nil), // 1: market.MarketAgenctyItem
|
||||
(*SetPasswordRequest)(nil), // 2: market.SetPasswordRequest
|
||||
(*AgencyReply)(nil), // 3: market.AgencyReply
|
||||
(*ApproveRequest)(nil), // 4: market.ApproveRequest
|
||||
(*protobuf.IdentRequest)(nil), // 5: blocks.IdentRequest
|
||||
(*protobuf.MarketFetchRequest)(nil), // 6: blocks.MarketFetchRequest
|
||||
(*protobuf.MarketLoginReply)(nil), // 7: blocks.MarketLoginReply
|
||||
(*protobuf.IdentityStatusReply)(nil), // 8: blocks.IdentityStatusReply
|
||||
(*LoginRequest)(nil), // 0: market.LoginRequest
|
||||
(*MarketAgenctyItem)(nil), // 1: market.MarketAgenctyItem
|
||||
(*SetPasswordRequest)(nil), // 2: market.SetPasswordRequest
|
||||
(*AgencyReply)(nil), // 3: market.AgencyReply
|
||||
(*ApproveRequest)(nil), // 4: market.ApproveRequest
|
||||
(*IdentRequest)(nil), // 5: blocks.IdentRequest
|
||||
(*MarketFetchRequest)(nil), // 6: blocks.MarketFetchRequest
|
||||
(*MarketLoginReply)(nil), // 7: blocks.MarketLoginReply
|
||||
(*IdentityStatusReply)(nil), // 8: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_module_ec_market_proto_agency_proto_depIdxs = []int32{
|
||||
1, // 0: market.AgencyReply.data:type_name -> market.MarketAgenctyItem
|
||||
@@ -552,6 +551,7 @@ func file_module_ec_market_proto_agency_proto_init() {
|
||||
if File_module_ec_market_proto_agency_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