summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2026-04-01 21:08:21 -0400
committersiddharth ravikumar <s@ricketyspace.net>2026-04-01 21:08:21 -0400
commit364180427f2d69da9814e170e241715ed328ff40 (patch)
treeaaf880e9a648a332b592885d07c738b4034063d4 /schema
parentf8fcf16d891f92554978778bcffbdfa6745d9366 (diff)
feed: update `youtubeUnmarshal`
Set ShorMedia attribute on Entries.
Diffstat (limited to 'schema')
-rw-r--r--schema/schema.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/schema/schema.go b/schema/schema.go
index e2efade..969ad70 100644
--- a/schema/schema.go
+++ b/schema/schema.go
@@ -11,11 +11,12 @@ import (
// Generic entry.
type Entry struct {
- Id string
- Title string
- Desc string
- PubTime time.Time
- Link string
+ Id string
+ Title string
+ Desc string
+ PubTime time.Time
+ Link string
+ ShortMedia bool
}
// Represents a NPR media link.