Documentation ¶
Index ¶
- func MakeCellID(col, row int) string
- func MakeColID(col int) string
- func ParseCellID(cell string) (col, row int)
- type Excel
- func (xls *Excel) Get(sheetName string, start, end *string) ([][]any, error)
- func (xls *Excel) GetData(sheetName string, start, end *string) ([]map[string]any, error)
- func (xls *Excel) GetSheetName(sheetName string) string
- func (xls *Excel) MakeStyle(style excelize.Style) (int, error)
- func (xls *Excel) RemoveSheet(sheetName string) error
- func (xls *Excel) Save(filename, password *string) error
- func (xls *Excel) Set(sheetName string, table [][]any, start, end *string) error
- func (xls *Excel) SetAutoFilter(sheetName string, start, end string, option *[]excelize.AutoFilterOptions) error
- func (xls *Excel) SetCellStyle(sheetName string, start string, end string, styleID int) error
- func (xls *Excel) SetColWidth(sheetName string, startCol string, endCol string, width float64) error
- func (xls *Excel) SetColWidths(sheetName string, widths []float64) error
- func (xls *Excel) SetData(sheetName string, data []map[string]any, start, end *string) error
- func (xls *Excel) SetPanes(sheetName string, panes excelize.Panes) error
- func (xls *Excel) Sheets() []string
- func (xls *Excel) WriteToBuffer() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCellID ¶
func ParseCellID ¶
Types ¶
type Excel ¶
type Excel struct {
// contains filtered or unexported fields
}
func (*Excel) GetSheetName ¶ added in v0.0.2
func (*Excel) RemoveSheet ¶ added in v0.0.2
func (*Excel) SetAutoFilter ¶ added in v0.0.2
func (*Excel) SetCellStyle ¶ added in v0.0.2
func (*Excel) SetColWidth ¶ added in v0.0.2
func (*Excel) SetColWidths ¶ added in v0.0.2
func (*Excel) WriteToBuffer ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.