Use bufio.ReadString to implement ReadLine without ending CR or LF.