aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/feed.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-01 16:42:31 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-01 16:42:31 +0200
commitd7de88398ca67d7213fb849db60e5963fd3bc32f (patch)
tree9168196dc5053185eefc951c3c0be0e8024b2a1d /pkg/config/feed.go
parent042361bc0cf7c0c4a0c14ee554e0e32c6088dee8 (diff)
downloadfeed2imap-go-d7de88398ca67d7213fb849db60e5963fd3bc32f.tar.gz
feed2imap-go-d7de88398ca67d7213fb849db60e5963fd3bc32f.tar.bz2
feed2imap-go-d7de88398ca67d7213fb849db60e5963fd3bc32f.zip
Remove pointers from feed options. Detect unknown fields in feed and group options.
Diffstat (limited to '')
-rw-r--r--pkg/config/feed.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/config/feed.go b/pkg/config/feed.go
index a861e2e..9a88fc9 100644
--- a/pkg/config/feed.go
+++ b/pkg/config/feed.go
@@ -5,7 +5,7 @@ type Feed struct {
Name string
Target []string `yaml:"-"`
Url string
- Options `yaml:",inline"`
+ Options `yaml:"-"` // not parsed directly
}
// Convenience type for all feeds