[PD1] small changes
This commit is contained in:
parent
568b6e6739
commit
2cafc3163c
10 changed files with 160 additions and 71 deletions
|
@ -6,10 +6,9 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
func AskServerPassword() string {
|
||||
fmt.Println("Enter key store password")
|
||||
func readStdin(message string) string {
|
||||
fmt.Println(message)
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
scanner.Scan()
|
||||
// FIX: make sure this doesnt die
|
||||
return scanner.Text()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue