xexcel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Excel

type Excel struct {
	// contains filtered or unexported fields
}

func CreateExcel

func CreateExcel(data ...[]map[string]any) *Excel

CreateExcel 创建 Excel

func CreateExcelFromGdbResult

func CreateExcelFromGdbResult(data ...gdb.Result) *Excel

CreateExcelFromGdbResult GF all 查询模式快速转换

func (*Excel) ReName

func (t *Excel) ReName(names []map[string]string) *Excel

ReName 修改标题名称

func (*Excel) Sort

func (t *Excel) Sort(keys [][]string) *Excel

Sort 排序

func (*Excel) WriteFile

func (t *Excel) WriteFile(path string) (err error)

WriteFile 写入到文件

Jump to

Keyboard shortcuts

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