Documentation ¶ Index ¶ func IterLines(filePath string) iter.Seq2[string, error] Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IterLines ¶ func IterLines(filePath string) iter.Seq2[string, error] IterLines returns a sequence of lines from the given file path. An error is returned if the file cannot be opened or if any error occurs during scanning. Simply range over the returned value of this function to receive lines, errors. Types ¶ This section is empty. Source Files ¶ View all Source files file.go Click to show internal directories. Click to hide internal directories.