I've my emacs setup for golang development. My golang config is github

If I have go mod in the same directory as git root directory then it is working fine in emacs. example project here

But If I've golang mod project in the sub directory of git project then the compiler is showing error . example project here

The error screenshot is here Because of this error I couldn't do the code navigation. How can I fix this error?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.