Documentation ¶
Index ¶
- func ToTatoebaSentenceResponse(ctx context.Context, result *service.TatoebaSentencePairSearchResult) (*entity.TatoebaSentenceFindResponse, error)
- func ToTatoebaSentenceSearchCondition(ctx context.Context, param *entity.TatoebaSentenceFindParameter) (service.TatoebaSentenceSearchCondition, error)
- func ToTranslationAddParameter(ctx context.Context, param *entity.TranslationAddParameter) (service.TranslationAddParameter, error)
- func ToTranslationFindResposne(ctx context.Context, translations []domain.Translation) (*entity.TranslationFindResponse, error)
- func ToTranslationListResposne(context context.Context, translations []domain.Translation) ([]*entity.Translation, error)
- func ToTranslationResposne(context context.Context, translation domain.Translation) (*entity.Translation, error)
- func ToTranslationUpdateParameter(ctx context.Context, param *entity.TranslationUpdateParameter) (service.TranslationUpdateParameter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToTatoebaSentenceResponse ¶
func ToTatoebaSentenceResponse(ctx context.Context, result *service.TatoebaSentencePairSearchResult) (*entity.TatoebaSentenceFindResponse, error)
func ToTatoebaSentenceSearchCondition ¶
func ToTatoebaSentenceSearchCondition(ctx context.Context, param *entity.TatoebaSentenceFindParameter) (service.TatoebaSentenceSearchCondition, error)
func ToTranslationAddParameter ¶
func ToTranslationAddParameter(ctx context.Context, param *entity.TranslationAddParameter) (service.TranslationAddParameter, error)
func ToTranslationFindResposne ¶
func ToTranslationFindResposne(ctx context.Context, translations []domain.Translation) (*entity.TranslationFindResponse, error)
func ToTranslationListResposne ¶
func ToTranslationListResposne(context context.Context, translations []domain.Translation) ([]*entity.Translation, error)
func ToTranslationResposne ¶
func ToTranslationResposne(context context.Context, translation domain.Translation) (*entity.Translation, error)
func ToTranslationUpdateParameter ¶
func ToTranslationUpdateParameter(ctx context.Context, param *entity.TranslationUpdateParameter) (service.TranslationUpdateParameter, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.