mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Setup golangci-lint Github Action
This commit is contained in:
parent
9242350f0e
commit
6e2e2d1665
14 changed files with 52 additions and 66 deletions
|
@ -292,7 +292,7 @@ func (r *rssItem) entryURL() string {
|
|||
|
||||
func (r *rssItem) entryEnclosures() model.EnclosureList {
|
||||
enclosures := make(model.EnclosureList, 0)
|
||||
duplicates := make(map[string]bool, 0)
|
||||
duplicates := make(map[string]bool)
|
||||
|
||||
for _, mediaThumbnail := range r.AllMediaThumbnails() {
|
||||
if _, found := duplicates[mediaThumbnail.URL]; !found {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue