refac: mappers, file names

This commit is contained in:
Floriansylvain committed 2025-12-22 00:06:17 +01:00
1 parent e0a6706d4e
commit b50efae8a8
24 files changed
+171 -190

No files matched your search

@@ -0,0 +1,13 @@
package user
type Repository interface {
Get(id uint32) (User, error)
GetByUsername(username string) (User, error)
GetByEmail(email string) (User, error)
GetAll() []User
Create(user User) (User, error)
Delete(id uint32) error
UpdateVerificationStatus(userId uint32, isVerified bool) (User, error)
UpdatePassword(userId uint32, password string) (User, error)
UpdatePasswordResetCode(userId uint32, code string) (User, error)
}