Unresolved References when Go projects aren't in the root of the editor
This is hard to summarize as a title so I hope that makes sense. I'm having an issue where GoLand (2020.2.3 on Linux) is not following reference properly if the project isn't in the root of the directory opened in GoLand. This used to work as I did it this way all the time. I don't know when it stopped working as I haven't been on a Go project in a little while.
To maybe try to explain this better. I have a directory full of git repos (all microservices part of a common app) and what I would do in the past is just open said directory and have all the repos in one GoLand window.
`/home/wonko/projects/chremoas/` would contain multiple directories. If I open that in GoLand I get the Unresolved References issue.
https://www.dropbox.com/s/peuj9i0walvojqg/GoLand%20-%20errors.png?dl=0
If I open one of the repos directly it works fine:
https://www.dropbox.com/s/bz0q9tvmhcvv1vl/GoLand%20-%20without%20errors.png?dl=0
How do I get this to work the way it used to where I could open the common folder?
Please sign in to leave a comment.
Never mind. Go module integration wasn't turned on for some reason. Thanks Daniil. :)