Learn Go Pointer and Difference with Passing by Reference
Go's design has all values passed by value; to achieve passing by reference effect, Pointer must be used explicitly.
Go's design has all values passed by value; to achieve passing by reference effect, Pointer must be used explicitly.