Documentation ¶ Index ¶ func ReadFileList(fileName string, outList *[]string) error type FileReaderOptions type Reader Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadFileList ¶ added in v0.1.11 func ReadFileList(fileName string, outList *[]string) error Read from a file. Types ¶ type FileReaderOptions ¶ type FileReaderOptions struct { Path string } FileReaderOptions are options for the file reader type Reader ¶ type Reader interface { Read(chan<- string) error } Reader defines a reader. NOTE: The Reader needs to close the channel when done to stop the runner. You would typically do this with a "defer close(ch)" at the start of your Read() implementation. Source Files ¶ View all Source files file.goreader.go Click to show internal directories. Click to hide internal directories.