package domain_a

import (
	"context"
)

type Service interface {
	Get(ctx context.Context) (string, error)
}

type serviceImpl struct {
	repo Repository
}

func NewService(repo Repository) Service {
	return &serviceImpl{
		repo: repo,
	}
}

func (s *serviceImpl) Get(ctx context.Context) (string, error) {
	// TODO: handle more logic if need
	return s.repo.Get(ctx)
}
