di

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceDB                = "db"
	ServiceLogger            = "logger"
	ServiceTodoRepository    = "todo.repository"
	ServiceTodoCreateHandler = "todo.handler.create"
	ServiceTodoListHandler   = "todo.handler.list"
	ServiceTodoCreateUseCase = "todo.usecase.create"
	ServiceTodoListUseCase   = "todo.usecase.list"
	ServiceHealcheckHandler  = "healthcheck.handler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container dic.Container

func BuildContainer

func BuildContainer(config config.Config, logger *zap.Logger) Container

Build dependency injection container

Jump to

Keyboard shortcuts

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