I also think Go have documented the behaviour at EOF. Note the second sentence.
```
The text returned from ReadLine does not include the line end ("\r\n" or "\n"). No indication or error is given if the input ends without a final line end.
```
So an upstream patch is probably not viable as it's the defined behaviour.