-
Notifications
You must be signed in to change notification settings - Fork 1
/
create_menu.pb.go
166 lines (148 loc) · 6.23 KB
/
create_menu.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: create_menu.proto
package menu
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//CreateMenu返回
type CreateMenuResponse struct {
//
//菜单 id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateMenuResponse) Reset() { *m = CreateMenuResponse{} }
func (m *CreateMenuResponse) String() string { return proto.CompactTextString(m) }
func (*CreateMenuResponse) ProtoMessage() {}
func (*CreateMenuResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2368c1bbdcf6d27c, []int{0}
}
func (m *CreateMenuResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateMenuResponse.Unmarshal(m, b)
}
func (m *CreateMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateMenuResponse.Marshal(b, m, deterministic)
}
func (m *CreateMenuResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateMenuResponse.Merge(m, src)
}
func (m *CreateMenuResponse) XXX_Size() int {
return xxx_messageInfo_CreateMenuResponse.Size(m)
}
func (m *CreateMenuResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateMenuResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateMenuResponse proto.InternalMessageInfo
func (m *CreateMenuResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
//
//CreateMenuApi返回
type CreateMenuResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *CreateMenuResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateMenuResponseWrapper) Reset() { *m = CreateMenuResponseWrapper{} }
func (m *CreateMenuResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*CreateMenuResponseWrapper) ProtoMessage() {}
func (*CreateMenuResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_2368c1bbdcf6d27c, []int{1}
}
func (m *CreateMenuResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateMenuResponseWrapper.Unmarshal(m, b)
}
func (m *CreateMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateMenuResponseWrapper.Marshal(b, m, deterministic)
}
func (m *CreateMenuResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateMenuResponseWrapper.Merge(m, src)
}
func (m *CreateMenuResponseWrapper) XXX_Size() int {
return xxx_messageInfo_CreateMenuResponseWrapper.Size(m)
}
func (m *CreateMenuResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_CreateMenuResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_CreateMenuResponseWrapper proto.InternalMessageInfo
func (m *CreateMenuResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *CreateMenuResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *CreateMenuResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *CreateMenuResponseWrapper) GetData() *CreateMenuResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*CreateMenuResponse)(nil), "menu.CreateMenuResponse")
proto.RegisterType((*CreateMenuResponseWrapper)(nil), "menu.CreateMenuResponseWrapper")
}
func init() { proto.RegisterFile("create_menu.proto", fileDescriptor_2368c1bbdcf6d27c) }
var fileDescriptor_2368c1bbdcf6d27c = []byte{
// 282 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xf4, 0x30,
0x14, 0x85, 0x69, 0xff, 0xce, 0x0f, 0x93, 0x2a, 0x6a, 0x16, 0x52, 0x07, 0xa4, 0x43, 0x04, 0x99,
0x4d, 0x5b, 0x70, 0x40, 0x44, 0x70, 0x33, 0xe2, 0xd2, 0x4d, 0x36, 0x2e, 0x25, 0x6d, 0x32, 0x35,
0x38, 0xed, 0x2d, 0x69, 0xea, 0xf8, 0xb4, 0x05, 0x5f, 0xa1, 0x4f, 0x20, 0xbd, 0x11, 0x2d, 0xcc,
0x2a, 0xe7, 0xde, 0x73, 0x3e, 0x72, 0xb8, 0xe4, 0x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