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) }