| 67 | } |
| 68 | |
| 69 | type ScannerWithPeek struct { |
| 70 | peeked bool |
| 71 | peekedScanOut bool |
| 72 | |
| 73 | nextLine []byte |
| 74 | nextErr error |
| 75 | |
| 76 | scanner *bufio.Scanner |
| 77 | } |
| 78 | |
| 79 | func (s *ScannerWithPeek) scan() bool { |
| 80 | scanOut := s.scanner.Scan() |
nothing calls this directly
no outgoing calls
no test coverage detected