Answer the question
In order to leave comments, you need to log in
How to fix "cannot find GOROOT directory" error?
go: cannot find GOROOT directory: C:\go. there was no GOROOT in the environment variable, and I, not understanding why it was needed, added it to the C:\users\work\go\src\GOROOT folder if the memory does not fail, it seemed so.
Answer the question
In order to leave comments, you need to log in
Set GOROOT to the full path to the installed files of the GO itself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question