refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package order
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -526,7 +525,7 @@ var File_module_ec_order_proto_cart_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_order_proto_cart_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" module/ec/order/proto/cart.proto\x12\x05order\x1a\x15protobuf/blocks.proto\"~\n" +
|
||||
" module/ec/order/proto/cart.proto\x12\x05order\x1a!module/ec/order/proto/const.proto\"~\n" +
|
||||
"\x0eCartGetRequest\x12\"\n" +
|
||||
"\fcar_identity\x18\x01 \x01(\tR\fcar_identity\x12,\n" +
|
||||
"\x11passport_identity\x18\x02 \x01(\tR\x11passport_identity\x12\x1a\n" +
|
||||
@@ -594,14 +593,14 @@ func file_module_ec_order_proto_cart_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_order_proto_cart_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_module_ec_order_proto_cart_proto_goTypes = []any{
|
||||
(*CartGetRequest)(nil), // 0: order.CartGetRequest
|
||||
(*CartGetReply)(nil), // 1: order.CartGetReply
|
||||
(*CartItem)(nil), // 2: order.CartItem
|
||||
(*CartAddRequest)(nil), // 3: order.CartAddRequest
|
||||
(*CartSetRequest)(nil), // 4: order.CartSetRequest
|
||||
(*Updates)(nil), // 5: order.Updates
|
||||
(*CartDelRequest)(nil), // 6: order.CartDelRequest
|
||||
(*protobuf.OrderStatusReply)(nil), // 7: blocks.OrderStatusReply
|
||||
(*CartGetRequest)(nil), // 0: order.CartGetRequest
|
||||
(*CartGetReply)(nil), // 1: order.CartGetReply
|
||||
(*CartItem)(nil), // 2: order.CartItem
|
||||
(*CartAddRequest)(nil), // 3: order.CartAddRequest
|
||||
(*CartSetRequest)(nil), // 4: order.CartSetRequest
|
||||
(*Updates)(nil), // 5: order.Updates
|
||||
(*CartDelRequest)(nil), // 6: order.CartDelRequest
|
||||
(*OrderStatusReply)(nil), // 7: blocks.OrderStatusReply
|
||||
}
|
||||
var file_module_ec_order_proto_cart_proto_depIdxs = []int32{
|
||||
2, // 0: order.CartGetReply.data:type_name -> order.CartItem
|
||||
@@ -626,6 +625,7 @@ func file_module_ec_order_proto_cart_proto_init() {
|
||||
if File_module_ec_order_proto_cart_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_ec_order_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user