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"
|
||||
@@ -454,7 +453,7 @@ var File_module_ec_mall_proto_staff_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_ec_mall_proto_staff_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" module/ec/mall/proto/staff.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"\x9e\x01\n" +
|
||||
" module/ec/mall/proto/staff.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"\x9e\x01\n" +
|
||||
"\fLoginRequest\x12\x18\n" +
|
||||
"\aaccount\x18\x01 \x01(\tR\aaccount\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x14\n" +
|
||||
@@ -524,14 +523,14 @@ func file_module_ec_mall_proto_staff_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_ec_mall_proto_staff_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_module_ec_mall_proto_staff_proto_goTypes = []any{
|
||||
(*LoginRequest)(nil), // 0: mall.LoginRequest
|
||||
(*LoginReply)(nil), // 1: mall.LoginReply
|
||||
(*SetAccountRequest)(nil), // 2: mall.SetAccountRequest
|
||||
(*StaffItem)(nil), // 3: mall.StaffItem
|
||||
(*StaffListReply)(nil), // 4: mall.StaffListReply
|
||||
(*protobuf.MallFetchRequest)(nil), // 5: blocks.MallFetchRequest
|
||||
(*protobuf.IdentRequest)(nil), // 6: blocks.IdentRequest
|
||||
(*protobuf.IdentityStatusReply)(nil), // 7: blocks.IdentityStatusReply
|
||||
(*LoginRequest)(nil), // 0: mall.LoginRequest
|
||||
(*LoginReply)(nil), // 1: mall.LoginReply
|
||||
(*SetAccountRequest)(nil), // 2: mall.SetAccountRequest
|
||||
(*StaffItem)(nil), // 3: mall.StaffItem
|
||||
(*StaffListReply)(nil), // 4: mall.StaffListReply
|
||||
(*MallFetchRequest)(nil), // 5: blocks.MallFetchRequest
|
||||
(*IdentRequest)(nil), // 6: blocks.IdentRequest
|
||||
(*IdentityStatusReply)(nil), // 7: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_module_ec_mall_proto_staff_proto_depIdxs = []int32{
|
||||
3, // 0: mall.StaffListReply.data:type_name -> mall.StaffItem
|
||||
@@ -561,6 +560,7 @@ func file_module_ec_mall_proto_staff_proto_init() {
|
||||
if File_module_ec_mall_proto_staff_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