gen

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CODE_SRC = "github.com/seepre"
)

Variables

View Source
var CodeGenerators = []types.GeneratorItem{
	{
		Dir:       "/",
		Generator: code.NewMain(svcCtx),
	},
	{
		Dir:       "/internal/config",
		Generator: code.NewConfig(svcCtx),
	},
	{
		Dir:       "/internal/handler",
		Generator: code.NewRoute(svcCtx),
	},
	{
		Dir:       "/internal/handler/demo",
		Generator: code.NewDemoHandler(svcCtx),
	},
	{
		Dir:       "/internal/service",
		Generator: code.NewDemoService(svcCtx),
	},
	{
		Dir:       "/internal/svc",
		Generator: code.NewSvcContext(svcCtx),
	},
	{
		Dir:       "/",
		Generator: code.NewMod(svcCtx),
	},
}

Functions

func GeneratorCommand

func GeneratorCommand(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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