fix: handle duplicate input

This commit is contained in:
ericprd
2025-02-24 19:47:40 +08:00
parent bd305f0edf
commit 3b2321d5db
7 changed files with 19 additions and 10 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ package userrepository
import (
"github.com/ardeman/project-legalgo-go/database"
usermodel "github.com/ardeman/project-legalgo-go/database/user"
authdomain "github.com/ardeman/project-legalgo-go/internal/domain/auth"
)
@@ -11,7 +10,7 @@ type UserRepository struct {
}
type UserIntf interface {
GetUserByEmail(string) (*usermodel.User, error)
GetUserByEmail(string) (*authdomain.User, error)
CreateUser(*authdomain.User) (*authdomain.User, error)
}