gpt4 book ai didi

eclipse - 如何为 GoClipse 设置 GoCode?

转载 作者:IT王子 更新时间:2023-10-29 01:52:38 26 4
gpt4 key购买 nike

阅读 https://github.com/nsf/gocode 上的指南后,我尝试了命令 go get -u -ldflags -H=windowsgui github.com/nsf/gocode。执行此命令后我没有得到任何响应。

enter image description here

我还发现在GoClipse中有一个地方可以让我输入GoCode的路径。所以,我想也许我的 Windows PC 中已经有 GoCode,但它的位置在哪里? enter image description here

最佳答案

go get 除非出现错误,否则不会输出任何内容。

你用 go 工具安装的任何东西的位置是 $GOPATH/bin$GOPATH 取决于你的环境。

如果你不确定它在哪里,运行 go env 它会打印出 Go 使用的环境变量列表,包括 GOPATH。

关于eclipse - 如何为 GoClipse 设置 GoCode?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37326415/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com