Answer the question
In order to leave comments, you need to log in
How to call io.EOF from terminal?
The function accepts the io.Reader interface. I pass os.Stdin into it. Reads input like this: src.Read(byteArray)
How to end input with an io.EOF error? No response on CTRL+D
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question