Add db
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package download
|
||||
|
||||
import "downloader/internal/core/entities"
|
||||
import (
|
||||
"context"
|
||||
"downloader/internal/core/entities"
|
||||
)
|
||||
|
||||
type BackgroundService interface {
|
||||
Run(download *entities.Download) error
|
||||
Run(ctx context.Context, download *entities.Download) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user