answer/internal/service/provider.go

69 lines
2.6 KiB
Go
Raw Normal View History

2022-09-27 17:59:05 +08:00
package service
import (
"github.com/answerdev/answer/internal/service/action"
"github.com/answerdev/answer/internal/service/activity"
answercommon "github.com/answerdev/answer/internal/service/answer_common"
"github.com/answerdev/answer/internal/service/auth"
collectioncommon "github.com/answerdev/answer/internal/service/collection_common"
"github.com/answerdev/answer/internal/service/comment"
"github.com/answerdev/answer/internal/service/comment_common"
"github.com/answerdev/answer/internal/service/export"
"github.com/answerdev/answer/internal/service/follow"
"github.com/answerdev/answer/internal/service/meta"
"github.com/answerdev/answer/internal/service/notification"
notficationcommon "github.com/answerdev/answer/internal/service/notification_common"
"github.com/answerdev/answer/internal/service/object_info"
questioncommon "github.com/answerdev/answer/internal/service/question_common"
"github.com/answerdev/answer/internal/service/rank"
"github.com/answerdev/answer/internal/service/reason"
"github.com/answerdev/answer/internal/service/report"
"github.com/answerdev/answer/internal/service/report_backyard"
"github.com/answerdev/answer/internal/service/report_handle_backyard"
"github.com/answerdev/answer/internal/service/revision_common"
"github.com/answerdev/answer/internal/service/tag"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/uploader"
"github.com/answerdev/answer/internal/service/user_backyard"
usercommon "github.com/answerdev/answer/internal/service/user_common"
2022-09-27 17:59:05 +08:00
"github.com/google/wire"
)
// ProviderSetService is providers.
var ProviderSetService = wire.NewSet(
comment.NewCommentService,
comment_common.NewCommentCommonService,
report.NewReportService,
NewVoteService,
tag.NewTagService,
follow.NewFollowService,
NewCollectionGroupService,
NewCollectionService,
action.NewCaptchaService,
auth.NewAuthService,
NewUserService,
NewQuestionService,
NewAnswerService,
export.NewEmailService,
tagcommon.NewTagCommonService,
usercommon.NewUserCommon,
questioncommon.NewQuestionCommon,
answercommon.NewAnswerCommon,
uploader.NewUploaderService,
collectioncommon.NewCollectionCommon,
revision_common.NewRevisionService,
NewRevisionService,
rank.NewRankService,
NewSearchService,
meta.NewMetaService,
object_info.NewObjService,
report_handle_backyard.NewReportHandle,
report_backyard.NewReportBackyardService,
user_backyard.NewUserBackyardService,
reason.NewReasonService,
NewSiteInfoService,
notficationcommon.NewNotificationCommon,
notification.NewNotificationService,
activity.NewAnswerActivityService,
)