jobs-monorepo/api/commands/job/create-job.go
Elshimy Ziad Magdy Taha 7bf35ccb6b refactor
2025-09-29 22:44:30 +05:00

21 lines
387 B
Go

package job
import (
"github.com/jobs-scraper/internal/ports"
"github.com/jobs-scraper/internal/repo"
)
type CreateJob struct {
jobRepo *repo.JobRepository
}
func NewCreateJobHandler(jobRepo *repo.JobRepository) *CreateJob {
return &CreateJob{
jobRepo: jobRepo,
}
}
func (cj *CreateJob) Handle(cmd ports.CreateJobCommand) error {
// Implementation will go here
return nil
}