Q: What should I pay attention to when changing values in the Go language?

In Go language, all value assignment operations (=) are copy operations, so if the value needs to be changed, only changing the copy cannot change the value of the original object, only using pointer operations can directly change the value of the original object.

Code, in case Sanji changes his name

Verify the following theory: In Go language, the value can only be modified by pointer operation to modify the original object, and the assignment operation only modifies the copied object