If I have a function that returns a proto and I want the proto to be read-only, what is the best way to achieve that in go?
In c++, I can return a const reference, and in java, the proto itself is always read-only.
However, go proto exports all members and allows user to overwrite. Is there a way to prevent user accidentally writes to the proto?