#go not able to find modules?
2 messages · Page 1 of 1 (latest)
dont set GOPATH to anything and use go module instead.
2 messages · Page 1 of 1 (latest)
I have found a way to get my code to compile:
/d/projects/ (my project is located in /d/projects/src/test/test-goproj)import "test/test-goproj/data" at the top of main.goBut this seems incredibly impractical to have to set these env variables to run my go program?
dont set GOPATH to anything and use go module instead.