downgrade code generated stuff
This commit is contained in:
		| @@ -3,11 +3,9 @@ | ||||
|  | ||||
| package gossip | ||||
|  | ||||
| import ( | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	math "math" | ||||
| ) | ||||
| import proto "github.com/golang/protobuf/proto" | ||||
| import fmt "fmt" | ||||
| import math "math" | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| @@ -18,7 +16,7 @@ var _ = math.Inf | ||||
| // 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.ProtoPackageIsVersion2 // please upgrade the proto package | ||||
|  | ||||
| // Update is the message broadcast | ||||
| type Update struct { | ||||
| @@ -45,17 +43,16 @@ func (m *Update) Reset()         { *m = Update{} } | ||||
| func (m *Update) String() string { return proto.CompactTextString(m) } | ||||
| func (*Update) ProtoMessage()    {} | ||||
| func (*Update) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_18cba623e76e57f3, []int{0} | ||||
| 	return fileDescriptor_gossip_fd1eb378131a5d12, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *Update) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_Update.Unmarshal(m, b) | ||||
| } | ||||
| func (m *Update) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_Update.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *Update) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Update.Merge(m, src) | ||||
| func (dst *Update) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Update.Merge(dst, src) | ||||
| } | ||||
| func (m *Update) XXX_Size() int { | ||||
| 	return xxx_messageInfo_Update.Size(m) | ||||
| @@ -121,10 +118,10 @@ func init() { | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("github.com/micro/go-micro/registry/gossip/proto/gossip.proto", fileDescriptor_18cba623e76e57f3) | ||||
| 	proto.RegisterFile("github.com/micro/go-micro/registry/gossip/proto/gossip.proto", fileDescriptor_gossip_fd1eb378131a5d12) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_18cba623e76e57f3 = []byte{ | ||||
| var fileDescriptor_gossip_fd1eb378131a5d12 = []byte{ | ||||
| 	// 251 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xcf, 0x4a, 0xc4, 0x30, | ||||
| 	0x10, 0x87, 0x69, 0xb6, 0x9b, 0xb5, 0xe3, 0x1f, 0x64, 0x10, 0x09, 0xb2, 0x87, 0xe2, 0xa9, 0x17, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user