chai2010/advanced-go-programming-book

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

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

nobody?

a pointer or not matters a lot?

Because every time a pointer is null, we have a lot of nested structures (this structure cannot be modified at present).

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?