Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feed ¶
type Feed struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt soft_delete.DeletedAt
Name *string `gorm:"name;not null"`
Link *string `gorm:"link;not null"`
// LastBuild is the last time the content of the feed changed
LastBuild *time.Time `gorm:"last_build"`
// Failure is the reason of failure. If it is not null or empty, the fetch processor
// should skip this feed
Failure *string `gorm:"failure;default:''"`
GroupID uint
Group Group
}
type Item ¶
type Item struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt soft_delete.DeletedAt
Title *string `gorm:"title;not null;index"`
GUID *string `gorm:"guid,index"`
Link *string `gorm:"link,index"`
Content *string `gorm:"content"`
PubDate *time.Time `gorm:"pub_date"`
Unread *bool `gorm:"unread;default:true"`
FeedID uint `gorm:"feed_id;index"`
Feed Feed
}
Click to show internal directories.
Click to hide internal directories.