From 183e8d68ac9c19d5ad459d81c60b53b3c234b236 Mon Sep 17 00:00:00 2001 From: Nick Leffler Date: Mon, 24 May 2021 12:18:20 -0400 Subject: [PATCH] removed input [RELEASE] --- hello.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hello.go b/hello.go index d61f53f..f89da7d 100644 --- a/hello.go +++ b/hello.go @@ -17,11 +17,6 @@ func main(){ fmt.Println("Hello World! 2") time.Sleep(duration) fmt.Printf("Hello from: %s %s\n",runtime.GOOS,runtime.GOARCH) - time.Sleep(duration) - scanner := bufio.NewScanner(os.Stdin) - scanner.Scan() // use `for scanner.Scan()` to keep reading - line := scanner.Text() - fmt.Println("captured:",line) time.Sleep(durMin) }