Posted on 30th May 2025|102 views
What is the difference between golang value semantics and pointer semantics?
Posted on 30th May 2025| views
Whenever you call a function or else a method also you pass parameters over it, a copy is created of the values, including the function can simply obtain these copies. Pointer semantics implies that even though we transfer something "by value", the callee can still change the "original" value, simply as if we would have transferred a pointer to that.