package one import ( "bufio" "io" ) func parseLines(r io.Reader) error { scanner := bufio.NewScanner(r) for scanner.Scan() { } if err := scanner.Err(); err != nil { return err } return nil }