diff options
author | Frédéric Guillot <fred@miniflux.net> | 2017-12-12 21:48:13 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2017-12-12 21:48:13 -0800 |
commit | 84d912c9794eaaef0f06638d9d23716f4e02b42f (patch) | |
tree | f02f77cbd1213c8dbf9d3f9518a2c7e576b0e5c0 /scheduler | |
parent | 9b1128d56dc2129a8cb90e882f67155ab74521b9 (diff) |
Rewrite imports
Diffstat (limited to 'scheduler')
-rw-r--r-- | scheduler/scheduler.go | 2 | ||||
-rw-r--r-- | scheduler/worker.go | 7 | ||||
-rw-r--r-- | scheduler/worker_pool.go | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/scheduler/scheduler.go b/scheduler/scheduler.go index acfb401..a1f1778 100644 --- a/scheduler/scheduler.go +++ b/scheduler/scheduler.go @@ -8,7 +8,7 @@ import ( "log" "time" - "github.com/miniflux/miniflux2/storage" + "github.com/miniflux/miniflux/storage" ) // NewScheduler starts a new scheduler that push jobs to a pool of workers. diff --git a/scheduler/worker.go b/scheduler/worker.go index 39382a3..be130ca 100644 --- a/scheduler/worker.go +++ b/scheduler/worker.go @@ -5,13 +5,14 @@ package scheduler import ( - "github.com/miniflux/miniflux2/model" - "github.com/miniflux/miniflux2/reader/feed" "log" "time" + + "github.com/miniflux/miniflux/model" + "github.com/miniflux/miniflux/reader/feed" ) -// A Worker refresh a feed in the background. +// Worker refreshes a feed in the background. type Worker struct { id int feedHandler *feed.Handler diff --git a/scheduler/worker_pool.go b/scheduler/worker_pool.go index c4a8372..1b9f086 100644 --- a/scheduler/worker_pool.go +++ b/scheduler/worker_pool.go @@ -5,8 +5,8 @@ package scheduler import ( - "github.com/miniflux/miniflux2/model" - "github.com/miniflux/miniflux2/reader/feed" + "github.com/miniflux/miniflux/model" + "github.com/miniflux/miniflux/reader/feed" ) // WorkerPool handle a pool of workers. |