Golang: pointers – detailed overview
DRANK
What is a pointer? Shortly, the pointer is a variable which stores an address of another variable, where some data is stored. A pointer example Let’s take the simplest example where a pointer is used: package main import