lysexcel

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteItemsToFile

func WriteItemsToFile[T any](items []T, jsonTagTypeMap map[string]string, filePath, sheetName string) (err error)

WriteItemsToFile creates an Excel workbook from items T must have json tags set. Only the fields with a json tag get written jsonTagTypeMap is a map of [json tag]type name if filePath exists, it gets overwritten sheetName is optional and defaults to "data"

Types

This section is empty.

Jump to

Keyboard shortcuts

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