diff --git a/storage/item.go b/storage/item.go new file mode 100644 index 0000000..b233348 --- /dev/null +++ b/storage/item.go @@ -0,0 +1,27 @@ +package storage + +type ItemStatus int + +const ( + UNREAD ItemStatus = 0 + READ ItemStatus = 1 + STARRED ItemStatus = 2 +) + +type Item struct { + Id int64 + FeedId int64 + Title string + Link string + Description string + Content string + Author string + Date int64 + DateUpdated int64 + Status ItemStatus + Image string +} + +func (s *Storage) CreateItems(items []Item) bool { + return true +}