Maxim Slipenko
733cebfd81
Reviewed-on: https://code.alt-gnome.ru/aides-infra/aides-repo-api/pulls/7 Co-authored-by: Maxim Slipenko <no-reply@maxim.slipenko.com> Co-committed-by: Maxim Slipenko <no-reply@maxim.slipenko.com>
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,
|
|
}
|
|
}
|