Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExcelFile ¶
type ExcelFile interface { // GetRows returns all rows for a specific sheet GetRows(sheet string) ([][]string, error) // Close closes and cleanup the open temporary file Close() error }
ExcelFile defines the contract for perform action over an excel file
func NewExcelizeFile ¶
NewExcelizeFile creates an instance of ExcelFile
type ExcelFileSystem ¶
type ExcelFileSystem interface { // Open opens the excel file Open(path string) (ExcelFile, error) }
ExcelFileSystem defines a system that contains excel files
and allows access to them
func NewExcelizeFileSystem ¶
func NewExcelizeFileSystem() (ExcelFileSystem, error)
NewExcelizeFileSystem creates an instance of ExcelFileSystem
type ExcelizeFile ¶
type ExcelizeFile struct {
// contains filtered or unexported fields
}
ExcelizeFile is the handler to manage action for a excel file
using excelize package
func (*ExcelizeFile) Close ¶
func (f *ExcelizeFile) Close() error
Close closes and cleanup the open temporary file
type ExcelizeFileSystem ¶
type ExcelizeFileSystem struct{}
ExcelizeFileSystem is the handler of a excel file system
using excelize package
Click to show internal directories.
Click to hide internal directories.