Documentation ¶
Index ¶
- func CreateAssociation(bookID uint) error
- func NewBookRepository() model.BookRepository
- func NewEducationRepository(user model.User, book model.Book) (model.EducationRepository, error)
- func NewLanguageRepository() model.LanguageRepository
- func NewUserKnowledgeRepository() model.UserKnowledgeRepository
- func NewWordRepository() *wordRepository
- func WordFabric(repo model.LanguageService, words <-chan string) <-chan model.Word
- func WordGen(words map[string]int) <-chan string
- func WordTake(repo *wordRepository, wordChan <-chan model.Word) <-chan model.Word
- type GetData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAssociation ¶
func NewBookRepository ¶
func NewBookRepository() model.BookRepository
func NewEducationRepository ¶
func NewLanguageRepository ¶
func NewLanguageRepository() model.LanguageRepository
func NewUserKnowledgeRepository ¶
func NewUserKnowledgeRepository() model.UserKnowledgeRepository
func NewWordRepository ¶
func NewWordRepository() *wordRepository
func WordFabric ¶
func WordFabric(repo model.LanguageService, words <-chan string) <-chan model.Word
Types ¶
Click to show internal directories.
Click to hide internal directories.