Think of it like giving someone a copy of your house key - they get a copy (pass by value), but they can still use it to change what's inside the house (the underlying data).
concepts
Golang concepts battle
Think of it like giving someone a copy of your house key - they get a copy (pass by value), but they can still use it to change what's inside the house (the underlying data).
Golang concepts battle