Versions in this module Expand all Collapse all v0 v0.1.1 Jan 30, 2026 v0.1.0 Dec 3, 2025 Changes in this version + type FileWriter interface + Save func(filename string) error + func NewFileWriter(options ...WriterOption) (FileWriter, error) + type Reader interface + ReadAllSheets func() ([]*Sheet, error) + ReadSheet func(sheetName string) (*Sheet, error) + func NewFileReader(filepath string, options ...ReaderOption) (Reader, error) + func NewHttpReader(url string, options ...ReaderOption) (Reader, error) + type ReaderOption func(*readerImpl) + func WithHeaderRowIndex(index int) ReaderOption + type Sheet struct + HeaderIndexes map[string]int + Headers []string + Name string + Rows []*SheetRow + type SheetRow struct + Columns []string + Sheet *Sheet + func (r *SheetRow) Get(colName string) string + func (r *SheetRow) GetFloat64(colName string) float64 + func (r *SheetRow) GetInt(colName string) int + func (r *SheetRow) GetInt32(colName string) int32 + func (r *SheetRow) GetInt32Slice(colName string) []int32 + func (r *SheetRow) GetInt64(colName string) int64 + func (r *SheetRow) GetInt64Slice(colName string) []int64 + func (r *SheetRow) GetIntSlice(colName string) []int + func (r *SheetRow) GetStringSlice(colName string) []string + type Writer interface + CreateDefaultSheet func(rows []any) error + CreateSheet func(sheetName string, rows []any) error + GetContent func() ([]byte, error) + func NewWriter(options ...WriterOption) (Writer, error) + type WriterOption func(*excelWriterOption) + func WithCellStyles(styles map[string]*excelize.Style) WriterOption + func WithColStyle(style *excelize.Style) WriterOption + func WithDefaultSheetName(sheetName string) WriterOption