I am getting this error message when typing 'go install'.
root@kali:~/Scripts/Enum/gobuster# go install
go install: no install location for directory /root/Scripts/Enum/gobuster outside GOPATH
For more details see: go help gopath
My 'go env' is as following.
root@kali:~/Scripts/Enum/gobuster# go env
GOARCH="386"
GOBIN=""
GOEXE=""
GOHOSTARCH="386"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root"
GORACE=""
GOROOT="/usr/lib/go"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_386"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
Can someone help please? Thank you.