changed arhitecture

This commit is contained in:
guwandyk committed 2026-07-15 18:08:19 +05:00
1 parent 7e3a5cebcc
commit 585ba63bc2
95 files changed
+4985 -1360

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package auth
import "context"
type Repository interface {
Login(ctx context.Context, dto LoginDTO) (UserCredentials, error)
GetUserByID(ctx context.Context, id int) (UserCredentials, error)
GetProfile(ctx context.Context, id int) (UserProfileDTO, error)
UpdateProfile(ctx context.Context, id int, dto UpdateProfileDTO) (UserProfileDTO, error)
}