I tried to enter 2 values for GOPATH, but must have entered something stupid.
Now, GOPATH is broken. Can not reset it.
If I ask:
go env GOPATH
I get:
go: GOPATH entry is relative; must be absolute path: "GOPATH=/var/www/localdev/goGeneric"
.
When I try to override with the proper path:
go env -w GOPATH=/var/www/localdev/goTest
Then comes the same error.
How to remove a corrupt value for GOPATH?