Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
feat: temporary prompt solution
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolSpring8 committed Jul 4, 2020
1 parent f6414cb commit 3045b7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/rwppa/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3045b7d

Please sign in to comment.