找不到软件包“ testing / internal / testdeps”

When I try to run go test I've got that message: package testmain imports testing/internal/testdeps: cannot find package "testing/internal/testdeps" in any of: /usr/local/go/src/testing/internal/testdeps (from $GOROOT) /Users/myname/go/src/testing/internal/testdeps (from $GOPATH) FAIL github.com/dzyanis/olyalya/cmd [setup failed] I think it is happened after I've installed a package manager Glide, but I'm not sure. Does anyone know how to fix that?

UPDATE: I've reinstalled Go and everything works well. That's it.

I fixed it by set:

export $GOROOT=