When GRPC protobuf generates the pb.go file, does it necessarily define the message structure as a pointer? Is there any way to avoid this
hyhanyan opened this issue · 4 comments
hyhanyan commented
When GRPC protobuf generates the pb.go file, does it necessarily define the message structure as a pointer?
Is there any way to avoid this
hyhanyan commented
nobody?
shanghai-Jerry commented
a pointer or not matters a lot?
hyhanyan commented
Because every time a pointer is null, we have a lot of nested structures (this structure cannot be modified at present).
shanghai-Jerry commented
i know every time a pointer is null. but i don't understand that nested structures cannot be modified at present. Can you give a example of this?