aides-repo-api/internal/controllers/taskcontroller/controller.go

16 lines
299 B
Go
Raw Normal View History

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