From 3045b7d64659055a99edd7011bf8a2c26230520a Mon Sep 17 00:00:00 2001 From: CoolSpring8 Date: Sat, 4 Jul 2020 19:19:17 +0800 Subject: [PATCH] feat: temporary prompt solution --- cmd/rwppa/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/rwppa/main.go b/cmd/rwppa/main.go index 6277a32..dd639db 100644 --- a/cmd/rwppa/main.go +++ b/cmd/rwppa/main.go @@ -40,14 +40,17 @@ func main() { var username string var password string var listenAddr string + fmt.Println("Username:") _, err := fmt.Scanln(&username) if err != nil { panic(err) } + fmt.Println("Password:") _, err = fmt.Scanln(&password) if err != nil { panic(err) } + fmt.Println("Listen Address:") _, err = fmt.Scanln(&listenAddr) if err != nil { panic(err)