Reading from “standard input” is really useful if you are making a command-line application and require user input.
First setup a new
bufio reader, then use
ReadString function, with a default wait character, which we have set to a newline (
The application will pause at this point and wait for user input before proceeding.