gexcel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteExcel

func WriteExcel(option WriteExcelOption) error

Types

type ExcelEntity

type ExcelEntity struct {
	Header  [][]string `json:"header"`
	RowList [][]string `json:"rowList"`
}

func ReadExcel

func ReadExcel(option ReadExcelOption) (dataList ExcelEntity, err error)

type ReadExcelOption

type ReadExcelOption struct {
	Path      string `json:"path"`
	SheetName string `json:"sheetName"`
	SkipRow   int    `json:"skipRow"`
}

type WriteExcelOption

type WriteExcelOption struct {
	Path        string      `json:"path"`
	SheetName   string      `json:"sheetName"`
	ExcelEntity ExcelEntity `json:"excelEntity"`
}

Jump to

Keyboard shortcuts

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