Documentation ¶ Index ¶ type Scanner func NewScanner(reader io.Reader) *Scanner func (this *Scanner) Field(field Substring) string func (this *Scanner) Fields(fields ...Substring) (values []string) type Substring func Field(index, width int) Substring Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Scanner ¶ type Scanner struct { *bufio.Scanner } func NewScanner ¶ func NewScanner(reader io.Reader) *Scanner func (*Scanner) Field ¶ func (this *Scanner) Field(field Substring) string func (*Scanner) Fields ¶ func (this *Scanner) Fields(fields ...Substring) (values []string) type Substring ¶ type Substring func(line string) (field string) func Field ¶ func Field(index, width int) Substring Source Files ¶ View all Source files scanner.go Click to show internal directories. Click to hide internal directories.