gateway

package
v0.0.0-...-2f4d8a3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxNumberOfProblemsToFindAllProblems  = 1000
	MaxNumberOfProblemIDsToFindProblemIDs = 100
)

Functions

func NewEnglishPhraseProblemRepository

func NewEnglishPhraseProblemRepository(db *gorm.DB, synthesizerClient appS.SynthesizerClient, problemType appD.ProblemTypeName) (appS.ProblemRepository, error)

func NewEnglishSentenceProblemAddParameterCSVReader

func NewEnglishSentenceProblemAddParameterCSVReader(workbookID appD.WorkbookID, reader io.Reader) appS.ProblemAddParameterIterator

func NewEnglishSentenceProblemRepository

func NewEnglishSentenceProblemRepository(db *gorm.DB, synthesizerClient appS.SynthesizerClient, problemType appD.ProblemTypeName) (appS.ProblemRepository, error)

func NewEnglishWordProblemAddParameterCSVReader

func NewEnglishWordProblemAddParameterCSVReader(workbookID appD.WorkbookID, reader io.Reader) appS.ProblemAddParameterIterator

func NewEnglishWordProblemRepository

func NewEnglishWordProblemRepository(db *gorm.DB, synthesizerClient appS.SynthesizerClient, problemType appD.ProblemTypeName) (appS.ProblemRepository, error)

Types

type JunctionModelEntity

type JunctionModelEntity struct {
	CreatedAt time.Time
	CreatedBy uint
}

type SinmpleModelEntity

type SinmpleModelEntity struct {
	ID        uint
	Version   int
	CreatedAt time.Time
	UpdatedAt time.Time
	CreatedBy uint
	UpdatedBy uint
}

Jump to

Keyboard shortcuts

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