Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImporterFunc ¶
type ImporterFunc struct {
// contains filtered or unexported fields
}
func (*ImporterFunc) AddQuestion ¶
func (ipfunc *ImporterFunc) AddQuestion(ctx context.Context, questionInfo plugin.QuestionImporterInfo) (err error)
type ImporterService ¶
type ImporterService struct {
// contains filtered or unexported fields
}
ImporterService importer service
func NewImporterService ¶
func NewImporterService( questionService *content.QuestionService, rankService *rank.RankService, userCommon *usercommon.UserCommon) *ImporterService
NewRankService new rank service
func (*ImporterService) ImportQuestion ¶
func (ip *ImporterService) ImportQuestion(ctx context.Context, questionInfo plugin.QuestionImporterInfo) (err error)
func (*ImporterService) NewImporterFunc ¶
func (ip *ImporterService) NewImporterFunc() plugin.ImporterFunc
Click to show internal directories.
Click to hide internal directories.