dousui6488 2017-10-27 08:35 采纳率: 100%
浏览 1683
已采纳

在IntelliJ中导入Go项目不起作用

I recently started out with Go programming and I wanted to checkout some open source projects. I cloned one and I wanted to get that imported into IntelliJ Community Edition 2017.1.1 but when I imported the whole project, I get strange errors. Somehow IntelliJ is not able to find the Go binaries.

Here are my settings:

joe-MacBook-Pro:go-ethereum joe$ echo $GOPATH
/Users/joe/Projects/Private/go-projects
joe-MacBook-Pro:go-ethereum joe$

Here is where Go is installed:

joe-MacBook-Pro:go-ethereum joe$ which go
/usr/local/bin/go
joe-MacBook-Pro:go-ethereum joe$

What else should I do? I'm using the Go Lang Plugin for IntelliJ version 0.171.1931

Is there anything else I should do to get this working? Here is the screenshot of the errors that I get!

enter image description here

  • 写回答

1条回答 默认 最新

报告相同问题?