Documentation ¶
Index ¶
Constants ¶
View Source
const ( Simple = "simple" Print = "print" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Excel ¶
type Excel struct { File *excelize.File Style style SwaggerSpec *spec.Swagger SwageSpec *parser.SwageSpec IndexSheetName string WorkSheetName string Context *context }
Excel to save
type Template ¶ added in v0.2.0
type Template interface { // GetExcel returns Excel that the template has GetExcel() *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() error }
Click to show internal directories.
Click to hide internal directories.