Versions in this module Expand all Collapse all v0 v0.0.1 Nov 2, 2021 Changes in this version + func Transform(input interface{}, fields []string) ([][]interface{}, error) + type Excel struct + func NewExcel(opts ...Option) *Excel + func (e *Excel) DownloadExcel(data interface{}, model interface{}, w http.ResponseWriter) error + func (e *Excel) Excel2Map(fn io.Reader, model interface{}) ([]map[string]interface{}, error) + func (e *Excel) Excel2Structs(fn io.Reader, v interface{}) error + func (e *Excel) Save2Excel(data interface{}, model interface{}, dest string) error + type ExcelConfig struct + SheetName string + type Option func(*Excel) + func WithSheetName(name string) Option + func WithSkipFirstRow(skip bool) Option