From 28be403d8e8bd6bfd99e1de43a9d7252581cb4e6 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 28 Nov 2021 20:20:12 -0500 Subject: schema: add Entry --- schema/schema.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'schema/schema.go') diff --git a/schema/schema.go b/schema/schema.go index 7ae0ac7..3d010c1 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -8,6 +8,13 @@ import ( "time" ) +type Entry struct { + Id string + Title string + PubTime time.Time + Link string +} + // NPR Feed Schema type NPRLink struct { XMLName xml.Name `xml:"link"` -- cgit v1.2.3