Mutability

This lesson discusses mutability and how to use it with help of pointers in GO

In Go, only constants are immutable. However, because arguments are passed by value, a function receiving a value argument and mutating it, won’t mutate the original value.

Get hands-on with 1200+ tech skills courses.