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

在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条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序