Understanding Pointers and Memory Allocation

Ardan Labs Blog on ·

In the documentation provided by the Go language team you will find great information on pointers and memory allocation. Here is a link to that documentation:

http://golang.org/doc/faq#Pointers (http://golang.org/doc/faq#Pointers)

We need to start with the understanding that all variables contain a value. Based on the type that variable represents will determine how we can use it to manipulate the memory it contains. Read this post to learn more: Understanding Type In Go (https://www.ardanlabs.com/blog/2013/07/understanding-type-in-go.html)