Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simple solutions for the go.mod file not found in current directory error
Yes, simply follow the guide. To create a module, you can the command go mod init test3. No one else has upgraded from the previous version, or maybe everyone else just got it right. Or there is another way for you to resolve this problem: Make sure that "auto" is set for the value of your GO111MODURead more
Yes, simply follow the guide. To create a module, you can the command go mod init test3. No one else has upgraded from the previous version, or maybe everyone else just got it right.
Or there is another way for you to resolve this problem:
Make sure that “auto” is set for the value of your GO111MODULE first. Then check it by using the below command:
In the case, it isn’t set ”auto” condition, let’s run:
Then access to your work directory which in the terminal and run this:
Subsequently, your program will work fine.
See less