fix: add task model to function definition
This commit is contained in:
parent
d9e2f46de8
commit
edf55aa4b7
1 changed files with 9 additions and 9 deletions
|
@ -6,7 +6,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type TaskStorage interface {
|
type TaskStorage interface {
|
||||||
CreateTask(ctx context.Context, problemId int32,contestId int32) (int32, error)
|
CreateTask(ctx context.Context, models.Task) (int32, error)
|
||||||
DeleteTask(ctx context.Context, id int32) error
|
DeleteTask(ctx context.Context, id int32) error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue