This content originally appeared on DEV Community and was authored by Gilbert Ngeno
A pretty dumb conclusion (mostly on my part) but my issue came from having done go mod init
in each of the folders. after removing go.mod
and go.dep
from each of the folders I did go mod init
in, I could build without issue (through terminal)
Also, my packages in…
This content originally appeared on DEV Community and was authored by Gilbert Ngeno

Gilbert Ngeno | Sciencx (2021-12-10T16:35:08+00:00) Answer: “package XXX is not in GOROOT” when building a Go project. Retrieved from https://www.scien.cx/2021/12/10/answer-package-xxx-is-not-in-goroot-when-building-a-go-project/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.