You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Go struct code generated by protoc 3 is typically in the following format: struct{ Field1 string protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty" }
It only includes protobuf and json parameters. I need to generate fields with additional parameters, such as "protobuf:"", "name:"", "json:"", and "description:". How should I write it in protoc 3?
The text was updated successfully, but these errors were encountered:
The Go struct code generated by protoc 3 is typically in the following format:
struct{ Field1 string
protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"}
It only includes protobuf and json parameters. I need to generate fields with additional parameters, such as "protobuf:"", "name:"", "json:"", and "description:". How should I write it in protoc 3?
The text was updated successfully, but these errors were encountered: