~chrisppy/go-barefeed

c9dc6d4deb60fa60332ec9555f742a300316231c — Chris Palmer 3 years ago 75dc5f7
Added updated to feed
1 files changed, 6 insertions(+), 5 deletions(-)

M msg.go
M msg.go => msg.go +6 -5
@@ 36,11 36,12 @@ func (t *MessageV1) Encode() ([]byte, error) {

// Feed type contains elements from RSS Channel & Atom Feed
type Feed struct {
	Feed        string `bare:"feed"`
	Title       string `bare:"title"`
	Description string `bare:"description"`
	Link        string `bare:"link"`
	Items       []Item `bare:"items"`
	Feed        string     `bare:"feed"`
	Title       string     `bare:"title"`
	Description string     `bare:"description"`
	Link        string     `bare:"link"`
	Updated     *Timestamp `bare:"updated"`
	Items       []Item     `bare:"items"`
}

// Decode will convert bytes into Feed