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 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) 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