summaryrefslogtreecommitdiffstats
path: root/schema/schema.go
diff options
context:
space:
mode:
Diffstat (limited to 'schema/schema.go')
-rw-r--r--schema/schema.go2
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"`