di

package
v0.0.0-...-9a539bc Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DI = wire.NewSet(
	app.NewApp,
	infraSet,
	adapterSet,
	repositorySet,
	useCaseSet,
	controllerSet,
	lifecycleSet,
)

Functions

func NewDatabase

func NewDatabase() (db *gorm.DB)

func NewEcho

func NewEcho() (e *echo.Echo)

func NewMiddleware

func NewMiddleware() (m middlewares)

func OnClose

func OnClose() app.OnClose

func OnStart

func OnStart(
	e *echo.Echo,
	mw middlewares,
	helloWorld *handler.HelloWorldController,
	user *handler2.UserController,
	order *handler3.OrderController,
	orderState *handler4.OrderStateController,
	orderTicket *handler5.OrderTicketController,
) app.OnStart

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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