doushang8512
doushang8512
2019-01-24 05:52

如何配置Intellij

已采纳

I have a skaffold Go project which I cloned. Now I want to run this Go project. I had set up the configuration in project setting and GOPATH is also correctly set. I am getting error while setting this configuration.

enter image description here

These are my GOPATH settings

enter image description here

Sometimes it runs and some time it shows the above error.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • doson1998 doson1998 2年前

    Great comment by Andrew, I would jot it down to the solution.

    While adding configuration change the Run-Kind to package instead of file or directory. Use this run-kind option wisely.

    点赞 评论 复制链接分享

为你推荐