2024-12-12 13:27:07 +00:00
|
|
|
package taskcontroller
|
|
|
|
|
|
|
|
import (
|
|
|
|
"code.alt-gnome.ru/aides-infra/aides-repo-api/internal/services/taskservice"
|
|
|
|
)
|
|
|
|
|
|
|
|
type TaskController struct {
|
|
|
|
taskService *taskservice.Service
|
|
|
|
}
|
|
|
|
|
2024-12-15 06:16:51 +00:00
|
|
|
func New(taskService *taskservice.Service) *TaskController {
|
2024-12-12 13:27:07 +00:00
|
|
|
return &TaskController{
|
|
|
|
taskService: taskService,
|
|
|
|
}
|
|
|
|
}
|