英文:
How to update Go application in Amazon Linux
问题
我不熟悉Go语言。我想要更新这个应用程序https://github.com/kahing/goofys 到最新版本(目前是v0.0.10)。
我尝试了以下命令:
$ go get github.com/kahing/goofys
$ go install github.com/kahing/goofys
但是版本没有改变。我需要帮助。
英文:
I am not familiar with Go. I want to update this application https://github.com/kahing/goofys to the recent version(right now its v0.0.10).
I tried
$ go get github.com/kahing/goofys
$ go install github.com/kahing/goofys
But the version does not change. I need help.
答案1
得分: 2
只需运行,-u
用于更新。
go get -u github.com/kahing/goofys
然后运行(可选步骤,如果在 $GOPATH/bin
中看到二进制文件 goofys
;不需要执行 go install。请参考注释说明)
go install github.com/kahing/goofys
英文:
Just run, -u
is used for update.
go get -u github.com/kahing/goofys
Then run (optional step, if you see a binary goofys
in $GOPATH/bin
; go install is not required. See comments why)
go install github.com/kahing/goofys
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论