From 6cd08bb65d2a9961720bba5405e771016e1cd72a Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Tue, 5 Mar 2024 17:08:29 +0100 Subject: [PATCH] Added channel creation to NewFeed() --- rss.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rss.go b/rss.go index 79fac04..82966d1 100644 --- a/rss.go +++ b/rss.go @@ -202,6 +202,7 @@ func NewFeed() *Feed { return &Feed{ Version: "2.0", ContentNamespace: "http://purl.org/rss/1.0/modules/content/", + Channels: make([]*Channel, 0), } }