generator

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 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 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