Suggested Init Script The very basic variable you need to lookout for in go is the environment variable $GOPATH.
In Unix/Linux-based systems it is by default in ~/go.
My preference is to put it in a directory where my go code exists. So here's a short shell script I use:
1#!/bin/bash 2 3## Enforce calling …