excel

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 5 Imported by: 0

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

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

DataRowIterator returns the iterator of data row

func (*ExcelFileImportedDataTable) HeaderColumnNames

func (t *ExcelFileImportedDataTable) HeaderColumnNames() []string

HeaderColumnNames returns the header column name list

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL