Versions in this module Expand all Collapse all v1 v1.1.0 Jan 19, 2021 v1.0.0 Jan 9, 2021 Changes in this version + var ColonPair = NewPair(':', func(r rune) bool { ... }) + var Comma = NewScanner(',', unicode.IsSpace) + var EqualPair = NewPair('=', func(r rune) bool { ... }) + var Line = NewScanner('\n', unicode.IsSpace) + var Semicolon = NewScanner(';', unicode.IsSpace) + var Space = NewScanner(' ', nil) + type Pair struct + func NewPair(delim rune, trimFunc func(r rune) bool) Pair + func (p Pair) Scan(s string) (key, value string, found bool) + type Scanner struct + func NewScanner(delim rune, trimFunc func(r rune) bool) Scanner + func (s Scanner) Scan(str string) (advance, token string, continueScan bool)