I'm using custom options in proto like

extend google.protobuf.MessageOptions {
  MyOption my_option = 10000;
message MyOption { string name = 1; }

message MyMessage {
  option (my_option).name = 'snaps';

I can access this option by getting extension of the message descriptor in 
But I couldn't a way to do in Go. I saw the same issue in 
https://github.com/golang/protobuf/issues/179, but couldn't find answer.

Is this not supported in Go?


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to