package taskcontroller import ( "code.aides.space/aides-infra/aides-repo-api/internal/models" "code.aides.space/aides-infra/aides-repo-api/internal/services/taskservice" ) type TaskService interface { Create(repo string) (*models.Task, error) Upload(input *taskservice.TaskUploadInput) error } type TaskController struct { taskService TaskService } func New(taskService TaskService) *TaskController { return &TaskController{ taskService: taskService, } }