structs moved

This commit is contained in:
nquidox 2026-02-21 16:59:38 +03:00
parent 150c5193e1
commit 9c79b04d4c
2 changed files with 10 additions and 6 deletions

View file

@ -1,8 +1,11 @@
package taskAgent
import "context"
import (
"context"
"task-processor/internal/structs"
)
type TaskAgent interface {
FetchTasks(ctx context.Context) ([]Task, error)
SendResults(ctx context.Context, results []Result) error
FetchTasks(ctx context.Context) ([]structs.Task, error)
SendResults(ctx context.Context, results []structs.Result) error
}