18 lines
416 B
Go
18 lines
416 B
Go
package taskcontroller
|
|
|
|
import (
|
|
"code.alt-gnome.ru/aides-infra/aides-repo-api/internal/app"
|
|
"code.alt-gnome.ru/aides-infra/aides-repo-api/internal/services/taskservice"
|
|
)
|
|
|
|
type TaskController struct {
|
|
app *app.App
|
|
taskService *taskservice.Service
|
|
}
|
|
|
|
func New(app *app.App, taskService *taskservice.Service) *TaskController {
|
|
return &TaskController{
|
|
app: app,
|
|
taskService: taskService,
|
|
}
|
|
}
|