Files
lassistanoque/backend/internal/service/user/service.go
T
2026-08-07 00:03:15 +02:00

18 lines
306 B
Go

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