Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExcelFileDataRow ¶
type ExcelFileDataRow struct {
// contains filtered or unexported fields
}
ExcelFileDataRow defines the structure of excel file data table row
func (*ExcelFileDataRow) ColumnCount ¶
func (r *ExcelFileDataRow) ColumnCount() int
ColumnCount returns the total count of column in this data row
func (*ExcelFileDataRow) GetData ¶
func (r *ExcelFileDataRow) GetData(columnIndex int) string
GetData returns the data in the specified column index
type ExcelFileDataRowIterator ¶
type ExcelFileDataRowIterator struct {
// contains filtered or unexported fields
}
ExcelFileDataRowIterator defines the structure of excel file data table row iterator
func (*ExcelFileDataRowIterator) CurrentRowId ¶
func (t *ExcelFileDataRowIterator) CurrentRowId() string
CurrentRowId returns current index
func (*ExcelFileDataRowIterator) HasNext ¶
func (t *ExcelFileDataRowIterator) HasNext() bool
HasNext returns whether the iterator does not reach the end
func (*ExcelFileDataRowIterator) Next ¶
func (t *ExcelFileDataRowIterator) Next() datatable.ImportedDataRow
Next returns the next imported data row
type ExcelFileImportedDataTable ¶
type ExcelFileImportedDataTable struct {
// contains filtered or unexported fields
}
ExcelFileImportedDataTable defines the structure of excel file data table
func CreateNewExcelFileImportedDataTable ¶
func CreateNewExcelFileImportedDataTable(data []byte) (*ExcelFileImportedDataTable, error)
CreateNewExcelFileImportedDataTable returns excel xls data table by file binary data
func (*ExcelFileImportedDataTable) DataRowCount ¶
func (t *ExcelFileImportedDataTable) DataRowCount() int
DataRowCount returns the total count of data row
func (*ExcelFileImportedDataTable) DataRowIterator ¶
func (t *ExcelFileImportedDataTable) DataRowIterator() datatable.ImportedDataRowIterator
DataRowIterator returns the iterator of data row
func (*ExcelFileImportedDataTable) HeaderColumnNames ¶
func (t *ExcelFileImportedDataTable) HeaderColumnNames() []string
HeaderColumnNames returns the header column name list