Set go environment variables

On Linux distributions set some environment variables in your ~/.bashrc. export GOPATH="${HOME}/go" export GOBIN="${GOPATH}" export PATH="${PATH}:${GOPATH}" Reload your bash with source ~/.bashrc or bash you can list yout go environment variables with go env on stdout.…