Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnclosersRunes = map[EncloserId]Encloser{ DoubleQuotes: Encloser{'"', '"'}, SingleQuotes: Encloser{'\'', '\''}, RoundBrackets: Encloser{'(', ')'}, SquareBrackets: Encloser{'[', ']'}, CurlyBrackets: Encloser{'{', '}'}, }
Functions ¶
This section is empty.
Types ¶
type EncloserId ¶
type EncloserId int
const ( None EncloserId = iota DoubleQuotes SingleQuotes RoundBrackets SquareBrackets CurlyBrackets )
type Parser ¶ added in v0.0.4
type Parser struct { Enclosers []EncloserId Delimiter string Fields []string Line string }
func (*Parser) ExtractEnclosedFieldValue ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.