Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

refactor(provider): add importer provider

LinkinStars860206549013
diff --git a/cmd/wire_gen.go b/cmd/wire_gen.go
index 29e0a441..978ab23b 100644
--- a/cmd/wire_gen.go
+++ b/cmd/wire_gen.go
@@ -79,13 +79,13 @@ import (
"github.com/apache/incubator-answer/internal/service/collection_common"
comment2 "github.com/apache/incubator-answer/internal/service/comment"
"github.com/apache/incubator-answer/internal/service/comment_common"
- "github.com/apache/incubator-answer/internal/service/importer"
config2 "github.com/apache/incubator-answer/internal/service/config"
"github.com/apache/incubator-answer/internal/service/content"
"github.com/apache/incubator-answer/internal/service/dashboard"
"github.com/apache/incubator-answer/internal/service/event_queue"
export2 "github.com/apache/incubator-answer/internal/service/export"
"github.com/apache/incubator-answer/internal/service/follow"
+ "github.com/apache/incubator-answer/internal/service/importer"
meta2 "github.com/apache/incubator-answer/internal/service/meta"
"github.com/apache/incubator-answer/internal/service/meta_common"
"github.com/apache/incubator-answer/internal/service/notice_queue"
diff --git a/internal/service/provider.go b/internal/service/provider.go
index 12e0db79..9d523b49 100644
--- a/internal/service/provider.go
+++ b/internal/service/provider.go
@@ -37,6 +37,7 @@ import (
"github.com/apache/incubator-answer/internal/service/event_queue"
"github.com/apache/incubator-answer/internal/service/export"
"github.com/apache/incubator-answer/internal/service/follow"
+ "github.com/apache/incubator-answer/internal/service/importer"
"github.com/apache/incubator-answer/internal/service/meta"
"github.com/apache/incubator-answer/internal/service/meta_common"
"github.com/apache/incubator-answer/internal/service/notice_queue"
@@ -124,4 +125,5 @@ var ProviderSetService = wire.NewSet(
badge.NewBadgeEventService,
badge.NewBadgeAwardService,
badge.NewBadgeGroupService,
+ importer.NewImporterService,
)