I am reading string data from an io.Reader as following:
scanner := bufio.NewReader(reader) data, _ := scanner.Read