Go Slice Copying: What Really Happens Under the Hood?
Sep 6, 2023 · 4 min read · In Go, variables are passed by value, which means that when we pass variables as arguments to functions, Go makes a copy of those values for the function to use. However, the behaviour of Slice can be a bit confusing at first glance, especially if we...
Join discussion



