How to take data from the standard input?

Report a typo

What argument should we pass to the NewReader() or NewScanner() functions to let our program know we will be taking data from the stdin, or standard input?

Enter a short text
___

Create a free account to access the full topic