sqlx

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAssociation

func CreateAssociation(bookID uint) error

func NewBookRepository

func NewBookRepository() model.BookRepository

func NewEducationRepository

func NewEducationRepository(user model.User, book model.Book) (model.EducationRepository, error)

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

func WordGen

func WordGen(words map[string]int) <-chan string

func WordTake

func WordTake(repo *wordRepository, wordChan <-chan model.Word) <-chan model.Word

Types

type GetData

type GetData interface {
	GetOne()
	GetAll()
	Find()
}

Jump to

Keyboard shortcuts

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