generator

package
v0.0.0-...-f3d84ad Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigGenerator

type ConfigGenerator struct {
	C    *Configuration
	Body string
}

func (*ConfigGenerator) Generate

func (cg *ConfigGenerator) Generate()

type ControllerGenerator

type ControllerGenerator struct {
	C          *Configuration
	Controller *Controller
	Body       string
}

func (*ControllerGenerator) Generate

func (cg *ControllerGenerator) Generate()

func (*ControllerGenerator) Init

func (cg *ControllerGenerator) Init(e *Model)

type Generator

type Generator interface {
	Generate()
}

type MapperGenerator

type MapperGenerator struct {
	C      *Configuration
	Mapper *Mapper
	Body   string
	XML    string
}

func (*MapperGenerator) Generate

func (mg *MapperGenerator) Generate()

func (*MapperGenerator) Init

func (mg *MapperGenerator) Init(e *Model)

type ModelGenerator

type ModelGenerator struct {
	C     *Configuration
	Table *Table
	Model *Model
	Body  string
}

func (*ModelGenerator) Generate

func (eg *ModelGenerator) Generate()

func (*ModelGenerator) Init

func (eg *ModelGenerator) Init() *ModelGenerator

type ServiceGenerator

type ServiceGenerator struct {
	C       *Configuration
	Service *Service
	Body    string
}

func (*ServiceGenerator) Generate

func (sg *ServiceGenerator) Generate()

func (*ServiceGenerator) Init

func (sg *ServiceGenerator) Init(e *Model)

Jump to

Keyboard shortcuts

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