template

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Simple = "simple"
	Print  = "print"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template interface {
	// GetExcel returns Excel that the template has
	GetExcel() *xlsx.Excel
	// Generate generates Excel from Open API
	Generate(*spec.Swagger) error
	// CreateIndexSheet generates index sheet
	CreateIndexSheet() error
	// CreateAPISheet generates an API sheet for each index
	CreateAPISheet(path string, method string, operation *spec.Operation, definitions spec.Definitions, sheetName int) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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