chore: move some types to model
This commit is contained in:
@ -4,9 +4,9 @@ package task
|
||||
import "context"
|
||||
|
||||
type Task struct {
|
||||
Name string
|
||||
Func func(context.Context) error
|
||||
Status string
|
||||
Error error
|
||||
Progress int
|
||||
Name string
|
||||
Func func(context.Context) error
|
||||
Status string
|
||||
Error error
|
||||
Finish bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user