infra

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDBConnection

func NewDBConnection(
	cnf *config.DB,
	appEnv string,
) (*gorm.DB, error)

Add appEnv as a parameter for dependency-injected environment

func NewExchangeRateSystem

func NewExchangeRateSystem(
	logger *slog.Logger,
	cfg config.ExchangeRate,
) (domain.CurrencyConverter, error)

NewExchangeRateSystem creates a complete exchange rate system with providers,

cache, and converter

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