Credits goes to Mark Wolfe.
If you're new to golang then before you start setup your workspace, firstly watch this video Writing, building, installing, and testing Go code.
Usually after installing go, I'm running the following commands to make GOPATH available for my user
mkdir -p ~/Documents/My/gocode/src/github.com/shamil