dougai8673 2019-05-10 11:14 采纳率: 100%
浏览 3709
已采纳

求助:修复GoLand找不到模块依赖项!

我已经安装了我项目的GO模块依赖项 go build。

但Goland告诉我,它不能解决任何这些依赖。

如何让Goland找到GO模块依赖项?

  • 写回答

1条回答 默认 最新

  • dongyan1625 2019-05-10 11:14
    关注

    Make sure that you have Go Modules support enabled.

    In your preferences go to Go > Go Modules (vgo) and check "Enable Go Modules":

    enter image description here

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?