mirror of
https://github.com/minio/minio.git
synced 2025-11-28 21:18:10 -05:00
Support in-place upgrades of new minio binary and releases. (#4961)
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
This commit is contained in:
committed by
Dee Koder
parent
8c08571cd9
commit
eb7c690ea9
33
vendor/github.com/segmentio/go-prompt/Readme.md
generated
vendored
Normal file
33
vendor/github.com/segmentio/go-prompt/Readme.md
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
# go-prompt
|
||||
|
||||
Terminal prompts for Go.
|
||||
|
||||
View the [docs](http://godoc.org/pkg/github.com/segmentio/go-prompt).
|
||||
|
||||
## Example
|
||||
|
||||
```go
|
||||
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
|
||||
Reference in New Issue
Block a user