excel

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 10 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 {
	File        *excelize.File
	Style       style
	SwaggerSpec *spec.Swagger

	Context *context
	// contains filtered or unexported fields
}

Excel is needed to generate a spreadsheet.

func New

func New() *Excel

New returns an Excel struct instance.

func (*Excel) Generate

func (xl *Excel) Generate(swaggerAPI *spec.Swagger, template string) error

Generate function generates a spreadsheet and then saves Excel file with the specified path.

Jump to

Keyboard shortcuts

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