MiniappGoService/internal/domains/profile/service/service.go

23 lines
539 B
Go

package profileService
type service struct {
logger loggerInstance
minioDB minioDBInstance
supportAPI supportAPIInstance
profileRepository profileRepository
}
func New(
loggerInstance loggerInstance,
minioDBInstance minioDBInstance,
supportAPIInstance supportAPIInstance,
profileRepository profileRepository,
) *service {
return &service{
logger: loggerInstance,
minioDB: minioDBInstance,
supportAPI: supportAPIInstance,
profileRepository: profileRepository,
}
}