di

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectConfig

func InjectConfig() (*config.Config, error)

func InjectDb

func InjectDb() (*ent.Client, error)

misc

func InjectHandlers

func InjectHandlers() (*api.Handlers, error)

handlers

func InjectMockDb

func InjectMockDb() (*ent.Client, error)

func InjectMockHandlers

func InjectMockHandlers(ctrl *gomock.Controller) (*api.Handlers, error)

func InjectMockRepository

func InjectMockRepository(ctrl *gomock.Controller) (*di.Repositories, error)

func InjectMockServices

func InjectMockServices(ctrl *gomock.Controller) (*di.Services, error)

func InjectRawDb

func InjectRawDb() (*sql.DB, error)

func InjectRepository

func InjectRepository() (*di.Repositories, error)

repositories

func InjectSecurityHandler

func InjectSecurityHandler() (handler.SecurityHandler, error)

func InjectServices

func InjectServices() (*di.Services, error)

services

func InjectTracerProvider

func InjectTracerProvider() (*trace.TracerProvider, error)

func InjectTxHandler

func InjectTxHandler() (repository.TxHandler, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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