From 36a2e943ef06dc9c929ac4ec2ea0fd45918216f2 Mon Sep 17 00:00:00 2001 From: 554325746@qq.com <554325746@qq.com> Date: 星期五, 07 二月 2020 10:20:24 +0800 Subject: [PATCH] modify protobuf gogo replace golang --- facedetect.pb.go | 5 ++--- es.pb.go | 9 ++------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/es.pb.go b/es.pb.go index 6dff4c3..cf75164 100644 --- a/es.pb.go +++ b/es.pb.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. +// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: es.proto package protomsg @@ -18,7 +18,7 @@ // 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.ProtoPackageIsVersion3 // please upgrade the proto package +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Esinfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -38,7 +38,6 @@ func (*Esinfo) Descriptor() ([]byte, []int) { return fileDescriptor_718db5c20d0f3738, []int{0} } - func (m *Esinfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Esinfo.Unmarshal(m, b) } @@ -116,7 +115,6 @@ func (*MultiFeaCache) Descriptor() ([]byte, []int) { return fileDescriptor_718db5c20d0f3738, []int{1} } - func (m *MultiFeaCache) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MultiFeaCache.Unmarshal(m, b) } @@ -186,7 +184,6 @@ func (*LinkEsInfo) Descriptor() ([]byte, []int) { return fileDescriptor_718db5c20d0f3738, []int{2} } - func (m *LinkEsInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LinkEsInfo.Unmarshal(m, b) } @@ -262,7 +259,6 @@ func (*Dbperson) Descriptor() ([]byte, []int) { return fileDescriptor_718db5c20d0f3738, []int{3} } - func (m *Dbperson) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Dbperson.Unmarshal(m, b) } @@ -427,7 +423,6 @@ func (*Dbtable) Descriptor() ([]byte, []int) { return fileDescriptor_718db5c20d0f3738, []int{4} } - func (m *Dbtable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Dbtable.Unmarshal(m, b) } diff --git a/facedetect.pb.go b/facedetect.pb.go index a355894..0eb8762 100644 --- a/facedetect.pb.go +++ b/facedetect.pb.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. +// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: facedetect.proto package protomsg @@ -22,7 +22,7 @@ // 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.ProtoPackageIsVersion3 // please upgrade the proto package +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type FaceDetectRequest struct { ReqParam []byte `protobuf:"bytes,1,opt,name=reqParam,proto3" json:"reqParam,omitempty"` @@ -37,7 +37,6 @@ func (*FaceDetectRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5314bd1755b5a080, []int{0} } - func (m *FaceDetectRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FaceDetectRequest.Unmarshal(m, b) } -- Gitblit v1.8.0