Is it necessary to define all parameters of golang func as pass pointer?

  golang, question

if inscribe
Under certain circumstances
Parameter values are not modified within func
Is it possible to avoid the overhead of memory copying by passing all parameters to the pointer?
Is it necessary to pass a pointer to an ordinary string?

If the parameter of the function is a pointer, the value of the “pointer” itself will be copied when the function is called.
Therefore, for simple variables, passing pointers has little meaning.