24 lines
316 B
Go
24 lines
316 B
Go
package taskservice
|
|
|
|
import (
|
|
"mime/multipart"
|
|
|
|
"code.alt-gnome.ru/aides-infra/aides-repo-api/internal/app"
|
|
)
|
|
|
|
type Service struct {
|
|
app *app.App
|
|
}
|
|
|
|
type TaskUploadInput struct {
|
|
TaskID string
|
|
Repo string
|
|
|
|
Files []*multipart.FileHeader
|
|
}
|
|
|
|
func New(app *app.App) *Service {
|
|
return &Service{
|
|
app: app,
|
|
}
|
|
}
|