diff options
author | siddharth <s@ricketyspace.net> | 2021-11-28 20:20:12 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-28 20:20:12 -0500 |
commit | 28be403d8e8bd6bfd99e1de43a9d7252581cb4e6 (patch) | |
tree | 210f6c5ff5f50eb2bed72d0a6c939205ea5ea6d4 | |
parent | 2c00caf94bd002a902769cf7f711ba469d719e04 (diff) |
schema: add Entry
-rw-r--r-- | schema/schema.go | 7 |
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"` |