英文:
Nothing happens when running go get github.com/astaxie/beego
问题
我试图运行go get github.com/astaxie/beego
,但是没有任何反应。我已经成功运行了从互联网上找到的示例,并且成功安装了gotour。有任何想法为什么会这样?
英文:
warning: noob question ahead
I was trying to run go get github.com/astaxie/beego
but it does nothing. I have been running examples I picked up from the internet and I installed gotour successfully. Any idea why?
答案1
得分: 5
原来我的设置弄乱了。我清除了所有内容,并使用这个巧妙的脚本安装了golang:https://github.com/moovweb/gvm。它会处理一切。感谢@peterSO的帮助。
英文:
Turns out my setup was messed up. I purged everything and installed golang using this nifty script: https://github.com/moovweb/gvm. It takes care of everything. Thanks @peterSO for the help.
答案2
得分: 3
如果没有显示任何内容,这并不意味着什么都不起作用。尝试使用“-v”标志进行相同的操作。
go get -v github.com/astaxie/beego
此外,所有下载的文件将保存在您的“~”目录中(在我的情况下是“~/go/src”),而不是当前终端目录。
英文:
If it doesn't show anything, it doesn't mean nothing works. Try doing the same with '-v' flag
go get -v github.com/astaxie/beego
Besides, all your downloads will be saved (most probably) somewhere to your '~' directory ('~/go/src' in my case), not in your current terminal directory
答案3
得分: 0
如果在Ubuntu/Debian上,尝试使用golang软件包来安装go。对我来说,它似乎运行得很好。
英文:
if on Ubuntu/Debian?, try the golang package for installing go. it seems to work for me quite well.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论