aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/cache/v2.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-11-22 23:25:01 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-11-22 23:25:01 +0100
commitccbbff4774c57c77f66ea64351f7f46bd0db2d9f (patch)
tree660cf2830f6eda074b86d02c4a99935859454f4d /internal/feed/cache/v2.go
parent285fdee712dab96804dcdc1d4fc5dec2508e4abd (diff)
downloadfeed2imap-go-ccbbff4774c57c77f66ea64351f7f46bd0db2d9f.tar.gz
feed2imap-go-ccbbff4774c57c77f66ea64351f7f46bd0db2d9f.tar.bz2
feed2imap-go-ccbbff4774c57c77f66ea64351f7f46bd0db2d9f.zip
Increase go-conformity: map[T]struct{} instead of map[T]bool for sets
Diffstat (limited to 'internal/feed/cache/v2.go')
-rw-r--r--internal/feed/cache/v2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/cache/v2.go b/internal/feed/cache/v2.go
index 2abf2a8..5d6ff9e 100644
--- a/internal/feed/cache/v2.go
+++ b/internal/feed/cache/v2.go
@@ -29,7 +29,7 @@ func (cache *v2Cache) transformTo(v Version) (Impl, error) {
return nil, fmt.Errorf("Transformation not supported")
}
-func (cache *v2Cache) cleanup(knownDescriptors map[feed.Descriptor]bool) {
+func (cache *v2Cache) cleanup(knownDescriptors map[feed.Descriptor]struct{}) {
cache.asV1().cleanup(knownDescriptors)
}