QuestionController question controller
| 43 | |
| 44 | // QuestionController question controller |
| 45 | type QuestionController struct { |
| 46 | questionService *content.QuestionService |
| 47 | answerService *content.AnswerService |
| 48 | rankService *rank.RankService |
| 49 | siteInfoService siteinfo_common.SiteInfoCommonService |
| 50 | actionService *action.CaptchaService |
| 51 | rateLimitMiddleware *middleware.RateLimitMiddleware |
| 52 | } |
| 53 | |
| 54 | // NewQuestionController new controller |
| 55 | func NewQuestionController( |
nothing calls this directly
no outgoing calls
no test coverage detected