[protobuf] Is there any equivalent protobuf3 type for go's interface{} type?

2017-01-11 Thread Francis Chuang
I have a map from a third party library in go that I need to send across the network using protocol buffers. The map has the following type: map[string]interface{}, where interface{} means that the value can be of any type. Is there any equivalent type for interface{} in protobuf3? What is the

Re: [protobuf] Re: Proto3 Storing UUID

2017-01-11 Thread 'Bo Yang' via Protocol Buffers
I recommend bytes field. If you use string, it won't accept non-utf8 character. On Wed, Jan 11, 2017 at 2:35 PM wrote: > Late answer, but I would have recommended string. Keeps it human readable > and also, I suppose, not have to be concerned with endian order. > > On Monday, May 2, 2016 at 10:2

[protobuf] Re: Proto3 Storing UUID

2017-01-11 Thread tony
Late answer, but I would have recommended string. Keeps it human readable and also, I suppose, not have to be concerned with endian order. On Monday, May 2, 2016 at 10:27:30 AM UTC-7, Osman Ali wrote: > > Looking use a 128 bit uuid according to rfc4122. For Proto3 should use > bytes type? > > So