Moved infra/ to internal/ sub-dir

This commit is contained in:
PB
2025-10-23 08:00:36 +02:00
parent ed325c7faa
commit 1ef015cd05
15 changed files with 64 additions and 54 deletions

View File

@@ -9,7 +9,7 @@ import (
dto "git.ego.freeddns.org/egommerce/api-entities/identity/dto"
entity "git.ego.freeddns.org/egommerce/api-entities/identity/entity"
domain "git.ego.freeddns.org/egommerce/identity-service/domain/repository"
"git.ego.freeddns.org/egommerce/identity-service/internal/infra/repository"
"github.com/go-redis/redis/v8"
)
@@ -29,11 +29,11 @@ func init() {
}
type AuthService struct {
userRepo *domain.UserRepository
userRepo *repository.UserRepository
cache *redis.Client
}
func NewAuthService(userRepo *domain.UserRepository, cache *redis.Client) *AuthService {
func NewAuthService(userRepo *repository.UserRepository, cache *redis.Client) *AuthService {
return &AuthService{
userRepo: userRepo,
cache: cache,