The GOPATH environment variable specifies the location of your workspace. If no GOPATH is set, it is assumed to be $HOME/go If you want to use a custom location as your workspace, you can set the GOPATH environment variable.
Edit your ~/.bash_profile to add the following line:
Run Go app
go run main.go
Go has pointers. A pointer holds the memory address of a value.