32 lines
816 B
Go
32 lines
816 B
Go
package assessment
|
|
|
|
import (
|
|
"Yimaru-Backend/internal/config"
|
|
"Yimaru-Backend/internal/ports"
|
|
notificationservice "Yimaru-Backend/internal/services/notification"
|
|
)
|
|
|
|
type Service struct {
|
|
userStore ports.UserStore
|
|
initialAssessmentStore ports.InitialAssessmentStore
|
|
notificationSvc *notificationservice.Service
|
|
// messengerSvc *messenger.Service
|
|
config *config.Config
|
|
}
|
|
|
|
func NewService(
|
|
userStore ports.UserStore,
|
|
initialAssessmentStore ports.InitialAssessmentStore,
|
|
notificationSvc *notificationservice.Service,
|
|
// messengerSvc *messenger.Service,
|
|
cfg *config.Config,
|
|
) *Service {
|
|
return &Service{
|
|
userStore: userStore,
|
|
initialAssessmentStore: initialAssessmentStore,
|
|
notificationSvc: notificationSvc,
|
|
// messengerSvc: messengerSvc,
|
|
config: cfg,
|
|
}
|
|
}
|