go version)?$ go version go version go1.13.3 linux/amd64
NA
go env)?go env Output
$ go env
$GOPATH/go.mod exists but should not
nothing is working go build or go env all fail with this
$GOPATH/go.mod exists but should not
$GOPATH/go.mod exists but should not
I had set the wrong GOPATH
we should set GOPATH in such a way that when we go inside the GOPATH we should able to see src directory
Most helpful comment
I had set the wrong GOPATH
we should set GOPATH in such a way that when we go inside the GOPATH we should able to see src directory