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