Gilbert Ngeno Posted on Dec 10, 2021 Answer: "package XXX is not in GOROOT" when building a Go project answer re: "package XXX is not in GOROOT" when building a Go project May 18 '20 39 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β¦ Open Full Answer Top comments (0) Crown Sort discussion: Selected Sort Option Top Most upvoted and relevant comments will be first Latest Most recent comments will be first Oldest The oldest comments will be first Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)