aides-repo-api/internal/controllers/taskcontroller/controller.go
Maxim Slipenko 733cebfd81 feat: add database (#7)
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>
2024-12-14 08:35:45 +00:00

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