excel

package
Version: v0.3.21 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFile

func MakeFile(fileName string, setter RowSetter, list []interface{}, firstRow ...string) error

func NewSheet

func NewSheet(file *xlsx.File, name string) (*xlsx.Sheet, error)

func NewSheetWithTitle

func NewSheetWithTitle(file *xlsx.File, name string, titles []string) (*xlsx.Sheet, error)

func Serve

func Serve(c echo.Context, buffer *bytes.Buffer, filename string)

Types

type RowSetter

type RowSetter func(row *xlsx.Row, data interface{})

Source Files

Jump to

Keyboard shortcuts

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