在Golang冲洗os.Stdin

I want to not process anything entered on the terminal before a particular point in my code.

However, when I create a Reader after that particular point in the following way:

reader := bufio.NewReader(os.Stdin)
text, _ := reader.ReadString('
')

I can also see the stuff entered on the terminal before I hit the condition stated earlier.

So what I want to do is flush os.Stdin right before I run the first line:

reader := bufio.NewReader(os.Stdin)

How do I do that?