importer

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL