Yimaru-BackEnd/internal/services/wallet/service.go
2025-06-30 18:53:19 +03:00

26 lines
768 B
Go

package wallet
import (
"log/slog"
notificationservice "github.com/SamuelTariku/FortuneBet-Backend/internal/services/notfication"
)
type Service struct {
walletStore WalletStore
transferStore TransferStore
notificationStore notificationservice.NotificationStore
notificationSvc *notificationservice.Service
logger *slog.Logger
}
func NewService(walletStore WalletStore, transferStore TransferStore, notificationStore notificationservice.NotificationStore, notificationSvc *notificationservice.Service, logger *slog.Logger) *Service {
return &Service{
walletStore: walletStore,
transferStore: transferStore,
notificationStore: notificationStore,
notificationSvc: notificationSvc,
logger: logger,
}
}