2022-09-27 17:59:05 +08:00
|
|
|
package service
|
|
|
|
|
|
|
|
import (
|
2022-10-24 16:51:05 +08:00
|
|
|
"github.com/answerdev/answer/internal/service/action"
|
|
|
|
"github.com/answerdev/answer/internal/service/activity"
|
2022-11-21 17:59:52 +08:00
|
|
|
"github.com/answerdev/answer/internal/service/activity_common"
|
2022-10-24 16:51:05 +08:00
|
|
|
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"
|
2022-11-02 15:50:32 +08:00
|
|
|
"github.com/answerdev/answer/internal/service/dashboard"
|
2022-10-24 16:51:05 +08:00
|
|
|
"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"
|
2022-11-29 15:10:57 +08:00
|
|
|
"github.com/answerdev/answer/internal/service/role"
|
|
|
|
"github.com/answerdev/answer/internal/service/search_parser"
|
2022-11-03 11:12:20 +08:00
|
|
|
"github.com/answerdev/answer/internal/service/siteinfo"
|
|
|
|
"github.com/answerdev/answer/internal/service/siteinfo_common"
|
2022-10-24 16:51:05 +08:00
|
|
|
"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,
|
2022-11-14 18:47:22 +08:00
|
|
|
search_parser.NewSearchParser,
|
2022-09-27 17:59:05 +08:00
|
|
|
NewSearchService,
|
|
|
|
meta.NewMetaService,
|
|
|
|
object_info.NewObjService,
|
|
|
|
report_handle_backyard.NewReportHandle,
|
|
|
|
report_backyard.NewReportBackyardService,
|
|
|
|
user_backyard.NewUserBackyardService,
|
|
|
|
reason.NewReasonService,
|
2022-11-03 11:12:20 +08:00
|
|
|
siteinfo_common.NewSiteInfoCommonService,
|
|
|
|
siteinfo.NewSiteInfoService,
|
2022-09-27 17:59:05 +08:00
|
|
|
notficationcommon.NewNotificationCommon,
|
|
|
|
notification.NewNotificationService,
|
|
|
|
activity.NewAnswerActivityService,
|
2022-11-02 15:50:32 +08:00
|
|
|
dashboard.NewDashboardService,
|
2022-11-21 17:59:52 +08:00
|
|
|
activity_common.NewActivityCommon,
|
2022-11-21 19:28:02 +08:00
|
|
|
activity.NewActivityService,
|
2022-11-29 15:10:57 +08:00
|
|
|
role.NewRoleService,
|
|
|
|
role.NewUserRoleRelService,
|
|
|
|
role.NewRolePowerRelService,
|
2022-09-27 17:59:05 +08:00
|
|
|
)
|