excelizeutil

package
v2.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExcelizeFileCannotBeNil = errors.New("excelize.File cannot be nil")

Functions

func ColumnsCollapse

func ColumnsCollapse(cols [][]string, trimSpace bool) []string

ColumnsCollapse converts a response from `excelize.File.GetCols()` to an `[]string` suitable for `Table.Columns`.

func GetCellValue

func GetCellValue(f *excelize.File, sheetName string, colIdx, rowIdx uint, opts ...excelize.Options) (string, error)

func GetTable

func GetTable(f *excelize.File, sheetName string, headerRowCount uint, trimSpace bool) (*table.Table, error)

func SetRowValues

func SetRowValues(f *excelize.File, sheetName string, rowIndex uint, rowValues []any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL