structs moved
This commit is contained in:
parent
150c5193e1
commit
9c79b04d4c
2 changed files with 10 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue