generator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name     string
	Field    Field
	Kwargs   map[string]interface{}
	Position int
	Builder  builder.Builder
}

type Document

type Document struct {
	Name       string
	Rows       int
	Columns    []Column
	WithHeader bool
}

func NewDocument

func NewDocument(name string) Document

type Field

type Field struct {
	Type types.TYPE
}

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(documents []Document, logger *logrus.Entry) *Generator

func (Generator) Generate

func (g Generator) Generate() error

Jump to

Keyboard shortcuts

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