mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
eb7c690ea9
This PR allows 'minio update' to not only shows update banner but also allows for in-place upgrades. Updates are done safely by validating the downloaded sha256 of the binary. Fixes #4781 |
||
---|---|---|
.. | ||
History.md | ||
prompt.go | ||
Readme.md |
go-prompt
Terminal prompts for Go.
View the docs.
Example
package main
import "github.com/segmentio/go-prompt"
var langs = []string{
"c",
"c++",
"lua",
"go",
"js",
"ruby",
"python",
}
func main() {
i := prompt.Choose("What's your favorite language?", langs)
println("picked: " + langs[i])
}
License
MIT