dongliang1873
dongliang1873
2016-10-09 18:26

WebStorm无法识别的二进制文件

已采纳

I installed go and ran a hello world from terminal. Now when I try setup Go SDK in WebStorm it fails to identify it.

enter image description here

The go binary is located in that path and I am able to see it version as well. But WebStorm is not happy for some reason.

How do I resolve this?

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

1条回答

  • duandi2853 duandi2853 5年前

    webstorm is not expecting the path to the go binary here. Instead, you have to give the path to Go's SDK. On my setup, it is /usr/lib/golang.

    go plugin

    $ ls /usr/lib/golang 
    api  bin  favicon.ico  lib  pkg  robots.txt  src  test  VERSION
    
    点赞 评论 复制链接分享

为你推荐