go: go.mod file not found
Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!
What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?
37.4
What version of Go are you using (go version)?
go version go1.16.3 linux/amd64
What operating system and processor architecture are you using(go env)?
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/
What did you do?
compile/run simple go code
If possible, provide a recipe for reproducing the error. invoking liteide, build&debugging simple go code
What did you expect to see?
successful run
What did you see instead?
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
I found this on StackOverflow. It fixed the problem. https://stackoverflow.com/questions/66894200/go-go-mod-file-not-found-in-current-directory-or-any-parent-directory-see-go