summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-28 20:20:12 -0500
committersiddharth <s@ricketyspace.net>2021-11-28 20:20:12 -0500
commit28be403d8e8bd6bfd99e1de43a9d7252581cb4e6 (patch)
tree210f6c5ff5f50eb2bed72d0a6c939205ea5ea6d4 /schema
parent2c00caf94bd002a902769cf7f711ba469d719e04 (diff)
schema: add Entry
Diffstat (limited to 'schema')
-rw-r--r--schema/schema.go7
1 files changed, 7 insertions, 0 deletions
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"`