Documentation
¶
Index ¶
- type Read
- func (my *Read) GetError() error
- func (my *Read) GetFinishedCol() int
- func (my *Read) GetFinishedRow() int
- func (my *Read) GetOriginalCol() int
- func (my *Read) GetOriginalRow() int
- func (my *Read) GetRawExcel() *excelize.File
- func (my *Read) GetUnzipSizeLimit() int64
- func (my *Read) GetUnzipXMLSizeLimit() int64
- func (my *Read) Read(sheetName string, callback func(rowNum int, rows *excelize.Rows) (err error), ...) Reader
- type Reader
- type ReaderAttribute
- func Filename(filename string) ReaderAttribute
- func Filesystem(fs filesystemV4.IFilesystem) ReaderAttribute
- func FinishedColumn(column int) ReaderAttribute
- func FinishedColumnText(column string) ReaderAttribute
- func FinishedRow(row int) ReaderAttribute
- func OriginalColumn(column int) ReaderAttribute
- func OriginalColumnText(column string) ReaderAttribute
- func OriginalRow(row int) ReaderAttribute
- func UnzipSizeLimit(limit int64) ReaderAttribute
- func UnzipXMLSizeLimit(limit int64) ReaderAttribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Read ¶
type Read struct {
Error error
// contains filtered or unexported fields
}
func (*Read) GetFinishedCol ¶ added in v1.69.2
func (*Read) GetFinishedRow ¶ added in v1.69.2
func (*Read) GetOriginalCol ¶ added in v1.69.2
func (*Read) GetOriginalRow ¶ added in v1.69.2
func (*Read) GetRawExcel ¶
GetRawExcel 获取原始 excelize.File 对象
func (*Read) GetUnzipSizeLimit ¶ added in v1.69.2
func (*Read) GetUnzipXMLSizeLimit ¶ added in v1.69.2
type Reader ¶
type Reader interface {
GetRawExcel() *excelize.File
GetError() error
GetOriginalRow() int
GetFinishedRow() int
GetOriginalCol() int
GetFinishedCol() int
GetUnzipXMLSizeLimit() int64
GetUnzipSizeLimit() int64
Read(sheetName string, callback func(rowNum int, rows *excelize.Rows) (err error), attrs ...ReaderAttribute) Reader
}
func NewReader ¶
func NewReader(attrs ...ReaderAttribute) Reader
type ReaderAttribute ¶
func Filename ¶
func Filename(filename string) ReaderAttribute
func Filesystem ¶
func Filesystem(fs filesystemV4.IFilesystem) ReaderAttribute
func FinishedColumn ¶
func FinishedColumn(column int) ReaderAttribute
func FinishedColumnText ¶
func FinishedColumnText(column string) ReaderAttribute
func FinishedRow ¶
func FinishedRow(row int) ReaderAttribute
func OriginalColumn ¶
func OriginalColumn(column int) ReaderAttribute
func OriginalColumnText ¶
func OriginalColumnText(column string) ReaderAttribute
func OriginalRow ¶
func OriginalRow(row int) ReaderAttribute
func UnzipSizeLimit ¶
func UnzipSizeLimit(limit int64) ReaderAttribute
func UnzipXMLSizeLimit ¶
func UnzipXMLSizeLimit(limit int64) ReaderAttribute
Click to show internal directories.
Click to hide internal directories.