initializer

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeDependencies

func InitializeDependencies(cfg *config.App) (
	deps *app.Deps,
	err error,
)

InitializeDependencies initializes all the application dependencies

Types

type Deps

type Deps struct {
	Uow              repository.UnitOfWork
	EventBus         eventbus.Bus
	CurrencyRegistry *currency.Registry
	PaymentProvider  provider.PaymentProvider
	Logger           *slog.Logger
}

Deps contains all the dependencies needed by the application

Jump to

Keyboard shortcuts

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