diff options
| author | siddharth ravikumar <s@ricketyspace.net> | 2026-04-01 20:34:52 -0400 |
|---|---|---|
| committer | siddharth ravikumar <s@ricketyspace.net> | 2026-04-01 20:34:52 -0400 |
| commit | 3387e07ae3900871392424bb82098fa065b97ca9 (patch) | |
| tree | 7d7db86e03f747077a0e7750f9e38e46c641db94 /schema/schema.go | |
| parent | fafeb9868ad20430fcf7b9297f71f8efbbca97b5 (diff) | |
schema: update YoutubeEntry
Add Desc.
Diffstat (limited to 'schema/schema.go')
| -rw-r--r-- | schema/schema.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/schema/schema.go b/schema/schema.go index e0712a3..7ef5c99 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -13,6 +13,7 @@ import ( type Entry struct { Id string Title string + Desc string PubTime time.Time Link string } @@ -50,6 +51,7 @@ type YouTubeEntry struct { XMLName xml.Name `xml:"entry"` Id string `xml:"id"` Title string `xml:"group>title"` + Desc string `xml:"group>description"` Pub string `xml:"published"` // RFC3339 PubTime time.Time Link YouTubeLink `xml:"group>content"` |
