From 5d3c9b97b2f041cbfdf4bd0853f756611f827e42 Mon Sep 17 00:00:00 2001 From: addshore Date: Sun, 7 Feb 2021 11:35:58 +0000 Subject: [PATCH] Space between text and version in ask user example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5daa089..37b774d 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ func confirmAndSelfUpdate() { return } - fmt.Print("Do you want to update to", latest.Version, "? (y/n): ") + fmt.Print("Do you want to update to ", latest.Version, "? (y/n): ") input, err := bufio.NewReader(os.Stdin).ReadString('\n') if err != nil || (input != "y\n" && input != "n\n") { log.Println("Invalid input")