get tasks + insert result
This commit is contained in:
parent
47700dfd14
commit
718101ee67
6 changed files with 268 additions and 8 deletions
|
|
@ -1,8 +1,10 @@
|
|||
package common
|
||||
|
||||
import "context"
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type MerchProvider interface {
|
||||
GetTasks(ctx context.Context) ([]Task, error)
|
||||
InsertRecords(ctx context.Context) error
|
||||
InsertPrices(ctx context.Context, rawPrices []Result) error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue