aides-repo-api/internal/services/taskservice/service.go

25 lines
316 B
Go
Raw Normal View History

2024-12-12 13:27:07 +00:00
package taskservice
import (
"mime/multipart"
2024-12-12 20:36:38 +00:00
"code.alt-gnome.ru/aides-infra/aides-repo-api/internal/app"
2024-12-12 13:27:07 +00:00
)
type Service struct {
2024-12-12 20:36:38 +00:00
app *app.App
2024-12-12 13:27:07 +00:00
}
type TaskUploadInput struct {
TaskID string
Repo string
Files []*multipart.FileHeader
}
2024-12-12 20:36:38 +00:00
func New(app *app.App) *Service {
2024-12-12 13:27:07 +00:00
return &Service{
2024-12-12 20:36:38 +00:00
app: app,
2024-12-12 13:27:07 +00:00
}
}