-
Notifications
You must be signed in to change notification settings - Fork 13
Please make sure no syntax or config error, then run 'go mod tidy' to ensure deps ok #157
Comments
Hi @lqxhub , please locate the error log by clicking in IDE |
@xxpxxxxp thanks for your reply below is the log D:\PROJECT is project path, in this project i did not use go mod, set project
|
Thank you, the log really helps! |
Would you help run the debug command, once the original command, once corrects the |
I am very sorry, I accidentally made a mistake when substituting. The real log is |
OK, no worries. Would you help to run the debug command in your terminal, see if that succeed or print the same error above? |
When I execute this command in windows cmd result is:
I delete The result seems to be the same as before
|
in the cmd, The
But on my computer, after rewriting the path, the go program message was not found |
I use the script:
result is OK, Let me keep trying to figure out what went wrong |
I use the script:
result is OK Unlike cmd in the previous log, I set So I feel like I didn't set up When there are multiple go programs in the path, the |
wow, that's a lot of investigation, thanks!
|
this is so cool Thank you very much for your answer, and thank you very much for providing this plugin |
my computer (win10) have two versions go program,
go 1.17.13
andgo 1.20.8
in My project A,
goland use
go 1.17.13
, But the environment variableGOPATH
of the computer is set togo 1.20.8
This error is then displayed in goland
Please make sure no syntax or config error, then run 'go mod tidy' to ensure deps ok
When I changed my computer's environment variables to match goland (go 1.17.13), there were no errors
go linter plugin version: 1.6.6
The text was updated successfully, but these errors were encountered: