Documentation ¶ Index ¶ type Castable type Parsable type Parser func NewParser(r io.Reader) *Parser func (p *Parser) Read(v Parsable, def interface{}) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Castable ¶ type Castable interface { // String cast the interface value into string String() string // Int cast the interface value into int Int() int } type Parsable ¶ type Parsable interface { // Defaults set all Parsable empty value to value according to the given interface. Defaults(interface{}) // Next set next Parsable field value to the Castable. Next(Castable) bool } type Parser ¶ type Parser struct { // NoHeader mark the data as no-header TSV. NoHeader bool // contains filtered or unexported fields } func NewParser ¶ func NewParser(r io.Reader) *Parser func (*Parser) Read ¶ func (p *Parser) Read(v Parsable, def interface{}) bool Source Files ¶ View all Source files tsv.go Click to show internal directories. Click to hide internal directories.