aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/parse.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-21 01:26:48 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-21 01:26:48 +0200
commit87935efe945c6847d2b18afaf7bfae5e80aa61e6 (patch)
tree748e678472b937d19c4985b059d8db590890fed0 /internal/feed/parse.go
parentafe2c4919dc2ded2f3b7d796b914dd66fbe78e64 (diff)
downloadfeed2imap-go-87935efe945c6847d2b18afaf7bfae5e80aa61e6.tar.gz
feed2imap-go-87935efe945c6847d2b18afaf7bfae5e80aa61e6.tar.bz2
feed2imap-go-87935efe945c6847d2b18afaf7bfae5e80aa61e6.zip
HTML Template part of the mail
Diffstat (limited to '')
-rw-r--r--internal/feed/parse.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/parse.go b/internal/feed/parse.go
index 00b6aff..22d16f2 100644
--- a/internal/feed/parse.go
+++ b/internal/feed/parse.go
@@ -26,8 +26,8 @@ func parseFeed(feed *Feed) error {
feed.feed = parsedFeed
feed.items = make([]feeditem, len(parsedFeed.Items))
- for _, item := range parsedFeed.Items {
- feed.items = append(feed.items, feeditem{parsedFeed, item})
+ for idx, item := range parsedFeed.Items {
+ feed.items[idx] = feeditem{parsedFeed, item}
}
return nil
}
t/internal/feed/parse.go?h=cookies&id=1525392a23c86214bf7ad1b5b7d8983f7b30837a&follow=1'>Use uuid library directly and encode to base64.René 'Necoro' Neumann6-10/+16 2020-05-02RestructureRené 'Necoro' Neumann8-95/+111 2020-05-02WIP: Message-IdsRené 'Necoro' Neumann8-5/+40 2020-05-02Typo and mention config example in READMERené 'Necoro' Neumann2-1/+3