Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/guru: GOROOT needs to be set for guru #22418
What version of Go are you using (
I guess your environment variable
And finally, the workaround indicates that Go was perhaps actually installed in
Also trying to set GOPATH to point to GOROOT is probably not going to work well.
I assume that you built guru yourself, and that it captured the setting of GOROOT used by the tools used to build it. Then you moved your installation, so guru was using the old GOROOT and was not finding anything in the new GOROOT.
I have not looked at the code, but perhaps guru should run