Documentation
¶
Index ¶
- Variables
- func Init()
- type Feed
- type Group
- type Item
- func (i Item) Creates(items []*model.Item) error
- func (i Item) Delete(id uint) error
- func (i Item) DeleteByFeed(feedID uint) error
- func (i Item) Get(id uint) (*model.Item, error)
- func (i Item) IdentityExist(feedID uint, guid, link, title string) (bool, error)
- func (i Item) List(filter ItemFilter, offset, count *int) ([]*model.Item, int, error)
- func (i Item) Update(id uint, item *model.Item) error
- type ItemFilter
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (Item) DeleteByFeed ¶
func (Item) IdentityExist ¶
type ItemFilter ¶
Click to show internal directories.
Click to hide internal directories.