Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go mod 在 goland编辑器中的问题 #149

Closed
wolfstudy opened this issue Jan 29, 2019 · 1 comment
Closed

go mod 在 goland编辑器中的问题 #149

wolfstudy opened this issue Jan 29, 2019 · 1 comment
Labels
日常问答 Go 夜读问答:遇到的问题,疑问。

Comments

@wolfstudy
Copy link

wolfstudy commented Jan 29, 2019

当我们clone一个.mod的go项目的时候,一般我们只要使用go mod tidy就可以找到我们所需要的相关依赖包,但是在goland中,我们需要注意,具体如下图:

image.png

如图所示:我们需要在goland中将mod打开,否则goland会找不到对应的module文件。

之后重启 goland 即可

致谢:杨文

@yangwenmai
Copy link
Member

@yangwenmai yangwenmai added 日常问答 Go 夜读问答:遇到的问题,疑问。 and removed contribution labels Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
日常问答 Go 夜读问答:遇到的问题,疑问。
Projects
None yet
Development

No branches or pull requests

2 participants