renommage lassistanoque

This commit is contained in:
2026-08-07 00:03:15 +02:00
commit 5810c4c94f
73 changed files with 2601 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package user
import "trankilou.fr/lassistanoque/backend/internal/domain"
type Service struct {
repo domain.UserRepository
}
func NewService(repo domain.UserRepository) *Service {
return &Service{
repo,
}
}
func (s *Service) GetUser(id string) (*domain.User, error) {
return s.repo.FindUser(id)
}