aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/item.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2022-04-24 18:53:32 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2022-04-24 18:53:32 +0200
commit79d3c2bfd95c5cb0ac6e4a3f97156161d792c676 (patch)
treecbfd034a362666b8dab842d3afed18cf95124ede /internal/feed/item.go
parent7822c9d443458ae9d1d9d678e279bfc516da7a8f (diff)
downloadfeed2imap-go-79d3c2bfd95c5cb0ac6e4a3f97156161d792c676.tar.gz
feed2imap-go-79d3c2bfd95c5cb0ac6e4a3f97156161d792c676.tar.bz2
feed2imap-go-79d3c2bfd95c5cb0ac6e4a3f97156161d792c676.zip
Replace `interface{}` by `any`
Diffstat (limited to 'internal/feed/item.go')
-rw-r--r--internal/feed/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/item.go b/internal/feed/item.go
index 44e878c..79a971c 100644
--- a/internal/feed/item.go
+++ b/internal/feed/item.go
@@ -65,7 +65,7 @@ func (item *Item) FeedLink() string {
}
func (item *Item) AddReason(reason string) {
- if !util.StrContains(item.reasons, reason) {
+ if !util.Contains(item.reasons, reason) {
item.reasons = append(item.reasons, reason)
}
}