Installing godef

blov · · 6375 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi! I am getting started with go and I have trouble getting godef. The instructions says &#39;go get;, which fails with not being accessible. I found a github mirror on github, but &#39;go get -v; says no buildable Go source files and fails. Could anyone point me into the right direction? I&#39;m getting a bit frustrated because of the awful outdated documentation I&#39;m finding.</p> <p>Thank you.</p> <hr/>**评论:**<br/><br/>xmonk: <pre><p>Right now is down <a href="" rel="nofollow">issue3</a> which is why godef is not being able to build.</p> <p>For the github repo you might want to do: go get -u -v</p> <p>Then just move 9fans out of into and re-try the godef install it should work without issue. ex: mv $GOPATH/src/ $GOPATH/src/</p> <p>That should be all you need to do, no need to change the import path in the godef code.</p></pre>DavsX: <pre><p>Very clever approach, I did not think about that (just recently got to workspaces/projects in the tutorial)</p></pre>: <pre><p>[deleted]</p></pre>DavsX: <pre><p>Thanks, that was partially helpful, I had to download godef and plan9 sources and replace with and build/install manually</p></pre>pursuit92: <pre><p>I&#39;ve noticed the same thing lately. I hopped into irc to see if anyone knew what was up, but got no response :/</p></pre>anacrolix: <pre><p>Maybe it should be called 9fan.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

6375 次点击  
加入收藏 微博
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传