xlsx

package
v0.0.0-...-2a6e696 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAxis

func GetAxis(x, y int) string

func GetColumnIndex

func GetColumnIndex(headers []string) map[string]int

GetColumnIndex get header and index

func GetSheetName

func GetSheetName(v interface{}) string

func Num2AZ

func Num2AZ(num int) string

func Open

func Open(r io.Reader) (*excelize.File, error)

func SetStructValues

func SetStructValues(data interface{}, row []string, colIndex map[string]int) error

SetStructValues reflect to struct

func SetValue

func SetValue(field reflect.Value, value string) error

SetValue set value

func String2Value

func String2Value(s string, rv reflect.Value) error

func ZeroValue

func ZeroValue(kind reflect.Kind) (interface{}, error)

Types

type SheetName

type SheetName interface {
	SheetName() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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