func (uc *TranslationUseCase) History(ctx context.Context) ([]entity.Translation, error) {
	translations, err := uc.repo.GetHistory(ctx)
	if err != nil {
		return nil, fmt.Errorf("TranslationUseCase - History - s.repo.GetHistory: %w", err)
	}
	return translations, nil
}
History - getting translate history from store.
package usecase
import (
	"context"
	"fmt"
	"github.com/evrone/go-clean-template/internal/entity"
)
type TranslationUseCase struct {
	repo   TranslationRepo
	webAPI TranslationWebAPI
}
func New(r TranslationRepo, w TranslationWebAPI) *TranslationUseCase {
	return &TranslationUseCase{
		repo:   r,
		webAPI: w,
	}
}