Documentation ¶
Index ¶
Constants ¶
View Source
const EnglishPhraseProblemType = "english_phrase"
View Source
const EnglishSentenceProblemType = "english_sentence"
View Source
const EnglishWordProblemType = "english_word"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnglishPhraseProblemModel ¶
type EnglishPhraseProblemModel interface { appD.ProblemModel GetAudioID() appD.AudioID GetText() string GetLang2() appD.Lang2 GetTranslated() string }
func NewEnglishPhraseProblemModel ¶
func NewEnglishPhraseProblemModel(problemModel appD.ProblemModel, audioID appD.AudioID, text string, lang2 appD.Lang2, translated string) (EnglishPhraseProblemModel, error)
type EnglishSentenceProblemModel ¶
type EnglishSentenceProblemModel interface { appD.ProblemModel GetProvider() string GetAudioID() appD.AudioID GetText() string GetNote() string }
type EnglishWordProblemModel ¶
type EnglishWordProblemModel interface { appD.ProblemModel GetAudioID() appD.AudioID GetText() string GetPos() int GetPhonetic() string GetPresentThird() string GetPresentParticiple() string GetPastTense() string GetPastParticiple() string GetLang2() appD.Lang2 GetTranslated() string GetPhrases() []EnglishPhraseProblemModel GetSentences() []EnglishWordSentenceProblemModel }
func NewEnglishWordProblemModel ¶
func NewEnglishWordProblemModel(problemModel appD.ProblemModel, audioID appD.AudioID, text string, pos int, phonetic string, presentThird, presentParticiple, pastTense, pastParticiple string, lang2 appD.Lang2, translated string, phrases []EnglishPhraseProblemModel, sentences []EnglishWordSentenceProblemModel) (EnglishWordProblemModel, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.