Moved infra/ to internal/ sub-dir
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user