package user import ( "time" "github.com/SamuelTariku/FortuneBet-Backend/internal/config" "github.com/SamuelTariku/FortuneBet-Backend/internal/services/messenger" ) const ( OtpExpiry = 5 * time.Minute ) type Service struct { userStore UserStore otpStore OtpStore messengerSvc *messenger.Service config *config.Config } func NewService( userStore UserStore, otpStore OtpStore, messengerSvc *messenger.Service, cfg *config.Config, ) *Service { return &Service{ userStore: userStore, otpStore: otpStore, messengerSvc: messengerSvc, config: cfg, } }