That worked correctly this time so I continued to check the environment variables with input "go env" and noticed my output didn't match up with the guide
Some of the environment variables must be different in this case. Try the following commands
sudo mdkir ~/goecho 'export GOPATH=$HOME/go' >> ~/.profileecho 'PATH="$HOME/go/bin:$PATH"' >> ~/.profileLog out, connect again to your machine and then run
go env to see whether or not GOPATH has changed. If so, try the command from Zap connect.
Ok followed those steps and the GOPATH was successfully changed. I get the following environment config now
GOARCH="arm"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/admin/go"
GORACE=""
GOROOT="/usr/lib/go-1.7"
GOTOOLDIR="/usr/lib/go-1.7/pkg/tool/linux_arm"
CC="gcc"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build354012546=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
I then proceeded to try and download Zap Connect but now get the following output
package github.com/LN-Zap/zapconnect: mkdir /home/admin/go/src: permission denied