go - 如何在 Amazon Linux 中更新 Go 应用程序

标签 go goofys

我不熟悉围棋。我想更新此应用程序 https://github.com/kahing/goofys到最新版本(现在是 v0.0.10)。 我试过了

$ go get github.com/kahing/goofys

$ go install github.com/kahing/goofys

但是版本没有变化。我需要帮助。

最佳答案

运行即可,-u用于更新。

go get -u github.com/kahing/goofys

然后运行(可选步骤,如果您在 $GOPATH/bin 中看到二进制文件 goofys;不需要安装。请参阅注释原因)

go install github.com/kahing/goofys

关于go - 如何在 Amazon Linux 中更新 Go 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44492930/

相关文章:

docker - 在前台运行 Goofys 是防止传输端点断开连接的唯一方法

go - 在解码字段的 JSON 内容时打印结构字段标签?

go - Golang 中 main 函数的两个 .RUN() 函数

go - 如何从 pem 文件中获取 subject_hash (md5)

json - 无法将对象解码为 []uint8 类型的 Go 值

go - 如果 `go build` 中的版本低于实际版本, `go.mod` 是否应该失败?