From 5d9a71b33af87f59ce4104eb1b5da65f076a789d Mon Sep 17 00:00:00 2001 From: 554325746@qq.com <554325746@qq.com> Date: 星期二, 18 六月 2019 11:40:43 +0800 Subject: [PATCH] test multiple action --- base.pb.go | 45 ++++++++++++++++++++++++++++++++------------- 1 files changed, 32 insertions(+), 13 deletions(-) diff --git a/base.pb.go b/base.pb.go index 2034d85..610d731 100644 --- a/base.pb.go +++ b/base.pb.go @@ -5,7 +5,7 @@ import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" io "io" math "math" ) @@ -19,12 +19,15 @@ // 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // struct for sdk type Point struct { - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` + X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Point) Reset() { *m = Point{} } @@ -75,10 +78,13 @@ } type Rect struct { - Left int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"` - Top int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"` - Right int32 `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"` - Bottom int32 `protobuf:"varint,4,opt,name=bottom,proto3" json:"bottom,omitempty"` + Left int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"` + Top int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"` + Right int32 `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"` + Bottom int32 `protobuf:"varint,4,opt,name=bottom,proto3" json:"bottom,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Rect) Reset() { *m = Rect{} } @@ -150,7 +156,7 @@ func init() { proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150) } var fileDescriptor_db1b6b0986796150 = []byte{ - // 167 bytes of a gzipped FileDescriptorProto + // 158 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4a, 0x2c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xb9, 0xc5, 0xe9, 0x4a, 0xca, 0x5c, 0xac, 0x01, 0xf9, 0x99, 0x79, 0x25, 0x42, 0x3c, 0x5c, 0x8c, 0x15, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, @@ -158,10 +164,9 @@ 0x94, 0x9a, 0x5c, 0x22, 0x24, 0xc4, 0xc5, 0x92, 0x93, 0x9a, 0x56, 0x02, 0x55, 0x06, 0x66, 0x0b, 0x09, 0x70, 0x31, 0x97, 0xe4, 0x17, 0x40, 0xd5, 0x82, 0x98, 0x42, 0x22, 0x5c, 0xac, 0x45, 0x99, 0xe9, 0x19, 0x25, 0x12, 0xcc, 0x60, 0x31, 0x08, 0x47, 0x48, 0x8c, 0x8b, 0x2d, 0x29, 0xbf, 0xa4, - 0x24, 0x3f, 0x57, 0x82, 0x05, 0x2c, 0x0c, 0xe5, 0x39, 0x49, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1, - 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, - 0xe3, 0xb1, 0x1c, 0x43, 0x12, 0x1b, 0xd8, 0x91, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5, - 0xe9, 0x4a, 0x5f, 0xb9, 0x00, 0x00, 0x00, + 0x24, 0x3f, 0x57, 0x82, 0x05, 0x2c, 0x0c, 0xe5, 0x39, 0x09, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1, + 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x33, 0x1e, 0xcb, 0x31, 0x24, 0xb1, 0x81, 0x1d, 0x67, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xb0, 0xbd, 0x0b, 0xb1, 0x00, 0x00, 0x00, } func (m *Point) Marshal() (dAtA []byte, err error) { @@ -188,6 +193,9 @@ dAtA[i] = 0x10 i++ i = encodeVarintBase(dAtA, i, uint64(m.Y)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } @@ -227,6 +235,9 @@ i++ i = encodeVarintBase(dAtA, i, uint64(m.Bottom)) } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } return i, nil } @@ -251,6 +262,9 @@ if m.Y != 0 { n += 1 + sovBase(uint64(m.Y)) } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } return n } @@ -271,6 +285,9 @@ } if m.Bottom != 0 { n += 1 + sovBase(uint64(m.Bottom)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) } return n } @@ -370,6 +387,7 @@ if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } @@ -499,6 +517,7 @@ if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } -- Gitblit v1.8.0