answer/internal/service/provider.go

87 lines
3.4 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"
2022-11-21 17:59:52 +08:00
"github.com/answerdev/answer/internal/service/activity_common"
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"
"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"
2023-01-18 10:39:55 +08:00
"github.com/answerdev/answer/internal/service/plugin_common"
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"
2022-12-21 16:55:16 +08:00
"github.com/answerdev/answer/internal/service/report_admin"
"github.com/answerdev/answer/internal/service/report_handle_admin"
"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"
"github.com/answerdev/answer/internal/service/tag"
tagcommon "github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/uploader"
2022-12-21 16:55:16 +08:00
"github.com/answerdev/answer/internal/service/user_admin"
usercommon "github.com/answerdev/answer/internal/service/user_common"
"github.com/answerdev/answer/internal/service/user_external_login"
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,
2022-12-21 16:55:16 +08:00
report_handle_admin.NewReportHandle,
report_admin.NewReportAdminService,
user_admin.NewUserAdminService,
2022-09-27 17:59:05 +08:00
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,
user_external_login.NewUserExternalLoginService,
2023-01-18 10:39:55 +08:00
plugin_common.NewPluginCommonService,
2022-09-27 17:59:05 +08:00
)