A pointer to a type is the address of the value of that type in memory.

Zero value of a pointer is nil.

Unlike C, Go doesn’t have pointer arithmetic. You can take an address of a variable but you can’t add or substract from a pointer.

Pointer basics

https://codeeval.dev/gist/5cca1f06d44820bfc8c7e18713b91c35

Learn more about pointers.