aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/feed.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-21 01:05:02 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-21 01:08:48 +0200
commit3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c (patch)
treea4cf921931dd84dcda7a73fc37a4ff7b1a1ffa18 /internal/feed/feed.go
parent2a8e0cf3750d3f789bcd756e39af04f00fe0e738 (diff)
downloadfeed2imap-go-3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c.tar.gz
feed2imap-go-3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c.tar.bz2
feed2imap-go-3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c.zip
New option 'item-filter'
Diffstat (limited to 'internal/feed/feed.go')
-rw-r--r--internal/feed/feed.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/feed/feed.go b/internal/feed/feed.go
index 4a0e724..ef51251 100644
--- a/internal/feed/feed.go
+++ b/internal/feed/feed.go
@@ -5,6 +5,7 @@ import (
"github.com/mmcdole/gofeed"
+ "github.com/Necoro/feed2imap-go/internal/feed/filter"
"github.com/Necoro/feed2imap-go/pkg/config"
"github.com/Necoro/feed2imap-go/pkg/log"
)
@@ -12,6 +13,7 @@ import (
type Feed struct {
*config.Feed
feed *gofeed.Feed
+ filter *filter.Filter
items []item
cached CachedFeed
Global config.GlobalOptions