Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminUsecase ¶
type AdminUsecase interface { ImportSentences(ctx context.Context, iterator service.TatoebaSentenceAddParameterIterator) error ImportLinks(ctx context.Context, iterator service.TatoebaLinkAddParameterIterator) error }
func NewAdminUsecase ¶
func NewAdminUsecase(db *gorm.DB, rfFunc service.RepositoryFactoryFunc) AdminUsecase
type UserUsecase ¶
type UserUsecase interface { FindSentencePairs(ctx context.Context, param service.TatoebaSentenceSearchCondition) (service.TatoebaSentencePairSearchResult, error) FindSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (service.TatoebaSentence, error) }
func NewUserUsecase ¶
func NewUserUsecase(db *gorm.DB, rfFunc service.RepositoryFactoryFunc) UserUsecase
Click to show internal directories.
Click to hide internal directories.