refactor: imports

This commit is contained in:
l3uddz
2022-04-01 20:42:05 +01:00
parent a73b07a041
commit 19a5e73c19
40 changed files with 91 additions and 53 deletions

View File

@@ -2,10 +2,11 @@ package rss
import (
"fmt"
"time"
"github.com/l3uddz/nabarr/cmd/nabarr/pvr"
"github.com/l3uddz/nabarr/util"
"github.com/robfig/cron/v3"
"time"
)
func (c *Client) AddJob(feed feedItem) error {

View File

@@ -3,11 +3,12 @@ package rss
import (
"encoding/xml"
"fmt"
"sort"
"strings"
"github.com/l3uddz/nabarr/media"
"github.com/l3uddz/nabarr/util"
"github.com/lucperkins/rek"
"sort"
"strings"
)
func (j *rssJob) process() error {

View File

@@ -1,13 +1,14 @@
package rss
import (
"time"
"github.com/l3uddz/nabarr/cache"
"github.com/l3uddz/nabarr/cmd/nabarr/pvr"
"github.com/l3uddz/nabarr/logger"
"github.com/lefelys/state"
"github.com/robfig/cron/v3"
"github.com/rs/zerolog"
"time"
)
type Client struct {

View File

@@ -1,12 +1,13 @@
package rss
import (
"net/http"
"time"
"github.com/l3uddz/nabarr/cache"
"github.com/l3uddz/nabarr/cmd/nabarr/pvr"
"github.com/robfig/cron/v3"
"github.com/rs/zerolog"
"net/http"
"time"
)
type feedItem struct {