Documentation ¶
Overview ¶
自动反射和解析CSV文件,对于有列的文件则通过列名解析 version 1.0 beta by koangel email: jackliu100@gmail.com 2017/8/16
Index ¶
- Constants
- type ParserCSV
- func (c *ParserCSV) Append(val interface{}) error
- func (c *ParserCSV) CloseAll()
- func (c *ParserCSV) Create(filename string, token rune) error
- func (c *ParserCSV) GetRow(row int, val interface{}) error
- func (c *ParserCSV) Open(filename string, token rune, skipHead bool) error
- func (c *ParserCSV) OpenDefault(filename string) error
- func (c *ParserCSV) RowCount() int
- func (c *ParserCSV) SaveAll()
- func (c *ParserCSV) SetHeader(val interface{})
- func (c *ParserCSV) SetRow(row int, val interface{}) error
Constants ¶
View Source
const ( Default_token = ',' Default_comment = '#' )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParserCSV ¶
type ParserCSV struct {
// contains filtered or unexported fields
}
func NewCSVDefault ¶
func (*ParserCSV) OpenDefault ¶
Click to show internal directories.
Click to hide internal directories.