Even though I have GOPATH properly set, I still can\'t get \"go build\" or \"go run\" to find my own packages. What am I doing wrong?
$ echo $GO
To be able to find your project's packages without installing it, (which is common during development), simply append project path to GOPATH.
GOPATH=$GOPATH:/path/to/projectgo run main.go should be able to find packages from the project itself.Mac; for Windows the delimiter is ; not :.Goland:Settings -> Go -> GOPATH, under Project GOPATH, add project path.Goland should be able to find packages from the project itself during development.