generator

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 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 *Entity)

type EntityGenerator added in v1.0.5

type EntityGenerator struct {
	C      *Configuration
	Table  *Table
	Entity *Entity
	Body   string
}

func (*EntityGenerator) Generate added in v1.0.5

func (eg *EntityGenerator) Generate()

func (*EntityGenerator) Init added in v1.0.5

func (eg *EntityGenerator) Init() *EntityGenerator

type Generator

type Generator interface {
	Generate()
}

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 *Entity)

Jump to

Keyboard shortcuts

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