3 ms·
Nope. Everything is passed by value including maps and slices. Here's an article from 2011 that might help you understand that: https://blog.golang.org/go-slic
by hu3 8y ago
Nope. Everything is passed by value including maps and slices.
Here's an article from 2011 that might help you understand that: https://blog.golang.org/go-slices-usage-and-internals https://blog.golang.org/go-slices-usage-and-internals