MCPcopy
hub / github.com/apache/answer / QuestionCommon

Struct QuestionCommon

internal/service/question_common/question.go:95–110  ·  view source on GitHub ↗

QuestionCommon user service

Source from the content-addressed store, hash-verified

93
94// QuestionCommon user service
95type QuestionCommon struct {
96 questionRepo QuestionRepo
97 answerRepo answercommon.AnswerRepo
98 voteRepo activity_common.VoteRepo
99 followCommon activity_common.FollowRepo
100 tagCommon *tagcommon.TagCommonService
101 userCommon *usercommon.UserCommon
102 collectionCommon *collectioncommon.CollectionCommon
103 AnswerCommon *answercommon.AnswerCommon
104 metaCommonService *metacommon.MetaCommonService
105 configService *config.ConfigService
106 activityQueueService activityqueue.Service
107 revisionRepo revision.RevisionRepo
108 siteInfoService siteinfo_common.SiteInfoCommonService
109 data *data.Data
110}
111
112func NewQuestionCommon(questionRepo QuestionRepo,
113 answerRepo answercommon.AnswerRepo,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected